Skip to content

bug(core): 400 Bad Request: "Function call is missing a thought_signature in functionCall parts" during parallel tool calls #28579

Description

@LazyCountry

Describe the Bug

When running the Gemini CLI with Gemini 3+ or Vertex AI models, conversations fail with a 400 Bad Request/INVALID_ARGUMENT API Error under two common scenarios:

  1. Executing parallel tool calls in a single turn.
  2. Hardening/scrubbing history where previous function calls lack signatures.

Error Message:

Function call is missing a thought_signature in functionCall parts. This is required for tools to work correctly, and missing thought_signature may lead to degraded model performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions