OpenRouter(@OpenRouterAI)
OpenRouter Web插件迁移公告
5.5内容质量

TL;DR · AI 摘要
OpenRouter发布Web插件迁移公告,将旧的plugins API格式迁移到新的tools格式,旧写法`plugins: [{id: web}]`改为`tools: [{type: openrouter:web_search}]`,并提供完整迁移指南文档链接。
核心要点
- 旧API格式`plugins: [{id: web}]`需迁移为新格式`tools: [{type: openrouter:web_search}]`
- 迁移指南可在OpenRouter官方文档查看完整说明
- 新API实现跨所有模型的统一Web搜索和获取功能
结构提纲
按章节快速跳转。
- §迁移公告
OpenRouter宣布Web插件从旧plugins格式迁移到新tools格式。
- ·旧格式
旧写法使用plugins数组,id为web。
- ›新格式
新写法使用tools数组,type为openrouter:web_search。
- ›文档资源
提供完整迁移指南和聊天室试用选项。
思维导图
用一张图看清主题之间的关系。
查看大纲文本(无障碍 / 无 JS 友好)
- OpenRouter Web插件迁移
- 旧API格式
- plugins: [{id: web}]
- 新API格式
- tools: [{type: openrouter:web_search}]
- 迁移目的
- 统一跨模型的Web搜索和获取功能
金句 / Highlights
值得收藏与分享的关键句。
Before: "plugins": [{ "id": "web" }] - After: "tools": [{ "type": "openrouter:web_search" }]
Consistent Web Search and Fetch Across Every Model
Full migration guide in the post
#OpenRouter#API迁移#Web Search#开发者公告
打开原文不要错过正在发生的事情

从旧的 web 插件迁移:- 之前:"plugins": [{ "id": "web" }]- 之后:"tools": [{ "type": "openrouter:web_search" }]在聊天室试用或阅读文档。文章中有完整的迁移指南:
