A Claude Code hook event that fires after a tool call completes successfully, receiving the tool name, parameters, and result.
↑ ContentsDefinition
PostToolUse hooks run after a tool has already executed. The hook can annotate the result with additional context (stdout is appended to what the model sees on the next turn) or trigger side effects such as logging and notifications. Unlike PreToolUse, PostToolUse cannot block — the tool has already executed. It is primarily used for observability: logging file writes, tracking command execution, or injecting warnings.
↑ ContentsSource
↑ ContentsRelated
- PreToolUse
- Lifecycle