問題 16
You are building a customer support resolution agent using the Claude Agent SDK. The agent handles high-ambiguity requests like returns, billing disputes, and account issues. It has access to your backend systems through custom Model Context Protocol (MCP) tools (get_customer, lookup_order, process_refund, escalate_to_human). Your target is 80%+ first-contact resolution while knowing when to escalate.
Your agent is handling a billing dispute. After calling ‘get_customer’ and ‘lookup_order’, it identifies that the dispute involves a promotional pricing error requiring manager approval – beyond the agent’s authorization level.
How should the workflow handle this mid-process escalation?
Your agent is handling a billing dispute. After calling ‘get_customer’ and ‘lookup_order’, it identifies that the dispute involves a promotional pricing error requiring manager approval – beyond the agent’s authorization level.
How should the workflow handle this mid-process escalation?
正解と解説を表示
正解
C
解説
When escalation is required mid-flow, best practice is to create a high-quality handoff: include the customer context, relevant tool outputs (customer + order), and the agent’s diagnosis (promo pricing error needing manager approval) before calling the escalation tool. This preserves continuity and reduces re-triage for the human. Passing only the original message (B) loses critical context, and attempting an unauthorized refund (A) violates policy/guardrails; persisting everything and sending only an ID (D) can work operationally but is less reliable unless the human system is guaranteed to fetch and render the full context.