Skip to content

[BUG] Tools use fails wth "tool_use ids were found without tool_result blocks immediately " #1237

@MarcinOrlowski

Description

@MarcinOrlowski

It was attempting to update the text file content. Claude 1.0.1

⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.22: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01Gho1LhNQt7FjqEiiHkrVMK.
Each `tool_use` block must have a corresponding `tool_result` block in the next message."}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:apibugSomething isn't workinghas reproHas detailed reproduction steps

    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