Claude asks for two currency conversions in one response. Your code runs both and returns two tool_result blocks, but Claude's final answer swaps the two figures. What should you check first?
Choose an answer to check it. Afterward, select any option to review its explanation.
A good description helps Claude decide when and how to call a tool, so the advice is real. Here Claude already called the right tool twice; the failure is in pairing results with calls.
Order is not the matching mechanism. The IDs let Claude pair results with requests even when results arrive in a different order.
Every tool call gets a unique ID, and each tool_result must echo the ID of the call it answers. That pairing is how Claude knows which output belongs to which request, so a mismatch produces exactly this swap.
Claude can legitimately request several tools in one response, and all their results go back together. Splitting them is unnecessary; matching IDs is what keeps them apart.
id q1e647e64ab