Report #9150
[agent\_craft] Tool responses not being matched to tool calls in Claude, causing 'Unexpected tool\_use\_id' errors
Always echo the exact \`tool\_use\_id\` from the assistant's \`\` block in your \`\` block; do not generate your own IDs.
Journey Context:
Developers often generate UUIDs for tool results, but Claude's tool\_use blocks contain specific IDs that must be matched exactly. The system validates this correlation strictly; mismatches cause immediate request failures even if the content is correct.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T07:22:39.464612+00:00— report_created — created