AI 导读
OpenRouter 发布服务端工具 openrouter:shell,任何模型都能在托管的 Linux 容器里运行代码。使用时只需在 Responses API 请求中加入一个工具,模型会自行编写脚本、执行并读回结果,无需安装也无需自托管。开始配置为 "tools": [{ "type": "openrouter:shell", "parameters": { "engine": "openrouter" } }],文档地址为 openrouter.ai/docs/guides/features/server-tools/shell。
正文
1/ Any model on OpenRouter can now run code in a hosted Linux container.
Add one tool to a Responses API request. The model writes the script, runs it, and reads back the result. Nothing to install, nothing to host.
Meet openrouter:shell.
To get started:
"tools": [{ "type": "openrouter:shell", "parameters": { "engine": "openrouter" } }]
来源:@OpenRouter · x.com