Claude Agent SDKclaude-agent-sdk 0.2.157 · Python 3.10+
Dashboard
0%
1
Curious builder0 XP earned · 300 to level 2
0 daysFinish a lesson to begin
Badge collection0 of 6 unlocked
46 small wins to finish your pathNext lesson →

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.