Claude Agent SDKclaude-agent-sdk 0.2.157 · Python 3.10+
Dashboard
0%

Hooks quiz

Question 1 of 5

allowed_tools lists mcp__shop__refund_order, and a PreToolUse hook matching that tool returns permissionDecision deny. A refund comes in. What happens?

Getting one wrong here is cheaper than getting it wrong in your own code.