Source Intelligence
Sweep 28 Aug 2026 ยท 00:00Z Build v2.1.250 478 read Stable v2.1.236 Latest v2.1.250 Next v2.1.250 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Search the documentation

6 pages for posttoolusefailure.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …| | `PostToolUseFailure` | Yes | Yes | Tool execution failure… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …tool execution "PostToolUse", # Called after tool execution "PostToolUseFailure", # Called when a tool execution fails "UserPromptSubmit", # Called when user submits a prompt "Stop"… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …theme={null} type HookEvent = | "PreToolUse" | "PostToolUse" | "PostToolUseFailure" | "PostToolBatch" | "Notification" | "UserPromptSubmit" | "UserPromptExpansion" | "SessionStart" |… Hooks reference Claude Code CLI · in the page hooks …the nested agentic loop (PreToolUse, PermissionRequest, PostToolUse, PostToolUseFailure, PostToolBatch, SubagentStart/Stop, TaskCreated, TaskCompleted), and Stop or StopFailure, followed by TeammateI… Automate actions with hooks Claude Code CLI · in the page hooks-guide …| | `PostToolUseFailure` | After a tool call fails… Plugins reference Claude Code CLI · in the page plugins-reference …| | `PostToolUseFailure` | After a tool call fails…