跳转到主要内容
内容更新: 2026-06-09

函数调用

截至 2026 年 3 月 23 日,Crazyrouter 生产环境已验证在 Chat Completions 路径中 gpt-5.5 返回 tool_calls。

步骤 1:定义工具

观察到的生产环境响应结构:

步骤 2:返回工具结果

收到 tool_calls 后,将您的工具结果作为 role: "tool" 消息发回:
本次生产环境验证确认了主要的 tool_calls 路径。同时观察到 message.reasoning_content 可能作为一个键出现,但在工具调用流程中不应被视为稳定依赖。

crazyrouter.com 上的相关内容