> ## Documentation Index
> Fetch the complete documentation index at: https://docs.apiyi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 新增 FAQ：Gemini 工具调用报思维签名 400 怎么办

> Gemini 3 及以上模型多轮工具调用有两种签名 400：missing a thought_signature 是客户端回传历史时丢了签名，要修回传逻辑；Invalid / Corrupted thought signature 是签名不被当前线路认，原样重发或去掉历史轮签名重发。走 chat/completions 由网关代管。

**2026/10/15 16:53 (UTC+8)** · 文档更新 · Google

📚 **新增 FAQ [Gemini 工具调用报思维签名 400 怎么办？](/faq/gemini-thought-signature-missing)，把两种报错分开讲清**

Gemini 3 及以上模型（`gemini-4-argon`、`gemini-3.8-flash` 等）做多轮 Function Calling 时，上一轮 `functionCall` part 里的 `thoughtSignature` 必须原样带回，这是原厂硬规则：

* 报 `Function call is missing a thought_signature`：请求里没有签名，是客户端拼历史时把字段丢了。不同模型的线路宽松程度不同，有的会放过，换到校验严格的模型才暴露，要修回传逻辑而不是换模型
* 报 `Invalid` / `Corrupted thought signature`：签名带了但不被当前线路认，常见于会话中途换线路、模型、Key 或分组。原样重发一次，仍 400 就去掉历史轮里的签名重发，或新开会话

走 OpenAI 兼容的 `/v1/chat/completions` 时签名由网关代管，按标准 `tool_calls` / `tool` 消息回传即可。Function Calling 指南与 Argon 页的签名段落已同步补上这两条处理方式。

***

← [返回实时动态](/live) · 📚 [按月归档](/live/archive)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.