Skip to content

Malformed function call didn't report the tool called #325

@verdverm

Description

@verdverm

I suspect it might be an upstream API error from aistudio, as I just blew out my context and hit the 2M TPM rate-limit

      {
        "Content": null,
        "CitationMetadata": null,
        "GroundingMetadata": null,
        "UsageMetadata": {
          "promptTokenCount": 687185,
          "promptTokensDetails": [
            {
              "modality": "TEXT",
              "tokenCount": 687185
            }
          ],
          "totalTokenCount": 687185
        },
        "CustomMetadata": null,
        "LogprobsResult": null,
        "Partial": false,
        "TurnComplete": false,
        "Interrupted": false,
        "ErrorCode": "MALFORMED_FUNCTION_CALL",
        "ErrorMessage": "",
        "FinishReason": "",
        "AvgLogprobs": 0,
        "ID": "a88c6425-c6f8-4d72-b377-093bd34d921c",
        "Timestamp": "2025-11-19T21:44:43.776355-08:00",
        "InvocationID": "e-c0b615a2-40c3-4e86-8ba5-a14f67383db9",
        "Branch": "",
        "Author": "gemini-2.5-pro",
        "Actions": {
          "StateDelta": {},
          "ArtifactDelta": null,
          "SkipSummarization": false,
          "TransferToAgent": "",
          "Escalate": false
        },
        "LongRunningToolIDs": null
      }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions