Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

5 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 …Yes | Tool execution result | Log file changes to an audit trail | | `PostToolUseFailure` | Yes | Yes | Tool execution failure | Handle or log tool errors | | `PostToolBatch` | No | Yes | A full batch… 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 a prompt is submitted "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 …oduced no verdict | | `PostToolUse` | After a tool call succeeds | | `PostToolUseFailure` | After a tool call fails | | `PostToolBatch` | After a full batch of parallel tool calls resolves, before the…
Feedback