Question 640
The Claude application case reports: An assistant issues two parallel tool uses but the client returns the results in unlabelled text. Select TWO: a safe corrective action and an independent acceptance test for this failure. (Select TWO.)
Explanation
Correct Answers
This corrective action targets An assistant issues two parallel tool uses but the client returns the results in unlabelled text by applying: Associate tool_use IDs with exactly the corresponding tool_result content, including errors, and let the client enforce actual authorization. It addresses: Using prose to infer a tool response or mismatching IDs can invent success and contaminate subsequent reasoning.
This evidence independently verifies the intervention for An assistant issues two parallel tool uses but the client returns the results in unlabelled text: A two-call simulation returns matched IDs and refuses an unauthorized request before any external effect.
Incorrect Answers
Agent custom extensions and change management: Uncontrolled extension upgrades can broaden permissions or break dependent agent behavior without audit. That mechanism alone cannot establish Tool result matching and safe execution for this question.
Clear tool name descriptions and json schemas: Ambiguous tool definitions and unvalidated model arguments lead to wrong operations and malformed downstream requests. Here the decisive check is Tool result matching and safe execution, not that separate capability.
Tool design for idempotency and observability: Unprotected retries on stateful tools can duplicate customer records, notifications, or financial operations. The observed issue still requires Tool result matching and safe execution; the proposed alternative tests another control.