Skip to content

Missing Tool Result Block After Tool Use This error suggests that after a tool use block in the conversation, you did not include the corresponding tool result block, which is required by the API. To resolve this: 1. Ensure that any tool_use block is i #473

@Belkins

Description

@Belkins

Bug Description
stuck on Error: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.156: Did not find 1 tool_result block(s) at the beginning of this message. Messages following tool_use blocks must begin with a matching number of
tool_result blocks."}}

Environment Info

  • Platform: macos
  • Terminal: Apple_Terminal
  • Version: 0.2.14
  • Feedback ID: 4441d4b9-707d-4983-b467-74dd96d8ddc5

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingplatform:macosIssue specifically occurs on macOS

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions