Skip to content

[Bug] Anthropic API Error: Missing Tool Result Block #6443

@JustOneGuy

Description

@JustOneGuy

could only submit the issue after complete restart of claude with /exit , a /clear command itself doesn't fix any.

Bug Description
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.86: tool_use ids were found without tool_result blocks immediately after: toolu_01BkxAkJgNnBSmhKuConE3Pb.
Each tool_use block must have a corresponding tool_result block in the next message."},"request_id":"req_011CSS7ou1Sw1y8ksQitZg6w"}

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 1.0.89
  • Feedback ID: 96b69cfe-f345-4434-a34d-858ad080ea1f

Errors

[]

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apiarea:corebugSomething isn't workingduplicateThis issue or pull request already existsplatform:macosIssue specifically occurs on macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions