Question 195
Scenario: Customer Support Resolution Agent
An Agent SDK support agent handles returns, billing disputes and account issues through MCP tools like get_customer, lookup_order, process_refund and escalate_to_human. It aims to resolve most cases on first contact — and to know exactly when to hand off to a human.
Read the full scenario lessonA customer support agent built with the Claude Agent SDK occasionally skips an identity verification step before processing refund requests, leading to unauthorized refunds in approximately 8% of interactions. The team has already added instructions to the system prompt emphasizing the importance of verification. What is the most effective way to ensure the verification step always occurs before refund processing?