Claude's API requires every tool_use block to be followed by a matching tool_result. Since tool interactions are fully resolved server-side within a single request, the client should only send plain text in conversation history — never structured content blocks that contain tool_use references. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| app | ||
| components | ||
| hooks | ||
| lib | ||
| stores | ||
| types | ||
| middleware.ts | ||