标签: tool calling

Openclaw deepai openai completions tools parameter.png

OpenClaw 接入 DeepAI API 中转站:openai-completions 不发送 tools 导致工具调用失效OpenClaw 接入 DeepAI API 中转站:openai-completions 不发送 tools 导致工具调用失效

OpenClaw 使用自定义 OpenAI-compatible Provider 时,如果请求里没有 tools 参数,模型可能只输出 JSON 文本而不会返回 tool_calls。本文结合 OpenClaw Issue #1866 / #8923,整理 DeepAI API 中转站场景下的复现、排查、升级和验证方法。

Openclaw deepai parallel tool calls 400 single tool call.png

OpenClaw 接入 DeepAI API 中转站:parallel_tool_calls 导致工具调用 400 怎么排查OpenClaw 接入 DeepAI API 中转站:parallel_tool_calls 导致工具调用 400 怎么排查

OpenClaw v2026.3.2 曾向所有 OpenAI-compatible Provider 强制发送 parallel_tool_calls:true,导致只支持单工具调用的模型返回 400 并让工具全部失效。本文结合 OpenClaw Issue #37048 和 PR #39356,整理 DeepAI API 中转站场景下如何识别、禁用和验证 parallel_tool_calls。

Cline deepai tool use xml context error.png

Cline 接入 DeepAI API 中转站:You did not use a tool 工具调用错误怎么排查Cline 接入 DeepAI API 中转站:You did not use a tool 工具调用错误怎么排查

Cline / Roo Code 类代码 Agent 通过 OpenAI-compatible Provider 接入中转站时,如果提示 You did not use a tool in your previous response,常见根因不是 Base URL,而是模型没有按 XML 工具格式输出、项目上下文过大或本地模型 context 太小。本文结合 Cline Issue #735,整理 DeepAI

N8n deepai tools agent cannot use tools with stream.png

n8n 接入 DeepAI API 中转站:Tools Agent 报 Cannot use tools with stream 怎么排查n8n 接入 DeepAI API 中转站:Tools Agent 报 Cannot use tools with stream 怎么排查

n8n AI Agent / Tools Agent 通过 OpenAI-compatible Chat Model 接入 API 中转站时,如果后端返回 Cannot use tools with stream,根因通常是工具调用链路带了 stream:true。本文结合 n8n Issue #13112 和 PR #16888,整理 DeepAI API 中转站场景下的定位、修复和验证方法。

Dify deepai tool calling array schema missing items.png

Dify 接入 DeepAI API 中转站:Tool Calling 报 array schema missing items 怎么排查Dify 接入 DeepAI API 中转站:Tool Calling 报 array schema missing items 怎么排查

Dify 自定义工具接入 OpenAI 插件或 API 中转站时,如果 Tool Calling 报 invalid_function_parameters:array schema missing items,根因通常不是 Key 或 Base URL,而是工具 JSON Schema 的 array 参数缺少 items。本文结合 Dify GitHub Issue #32894 和 PR #33137,整理排查步骤、修复示例与

Openclaw deepai gemini tool call thought signature.png

OpenClaw 接入 DeepAI API 中转站:Gemini 工具调用 400 与 thought_signature 透传OpenClaw 接入 DeepAI API 中转站:Gemini 工具调用 400 与 thought_signature 透传

OpenClaw 通过 OpenAI-compatible 网关调用 Gemini 工具时,第一次 tool call 成功但回传 tool result 后 400,提示缺少 thought_signature 怎么办?本文结合 OpenClaw GitHub 已关闭 Issue,整理 DeepAI API 中转站、provider-specific metadata、tool_calls 和工具结果回传排查方法。

N8n deepai tools agent bindtools tool calling.png

n8n 接入 DeepAI API 中转站:Tools Agent 提示模型不支持工具调用怎么排查n8n 接入 DeepAI API 中转站:Tools Agent 提示模型不支持工具调用怎么排查

n8n Tools Agent 使用 OpenAI-compatible Provider 时,模型明明支持 tool calling 却提示不支持 bindTools 怎么办?本文结合 n8n GitHub 已关闭 Issue,整理 DeepAI API 中转站、Chat Model、Base URL、多轮工具历史和 provider 兼容性排查方法。