Search the documentation
50 pages for hooks.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.
Webhooks
Claude Developer Platform · title
api/beta/webhooks
inference-hooks
Claude Developer Platform · title
manage-claude/inference-hooks
inference-hooks-configuration
Claude Developer Platform · title
manage-claude/inference-hooks-configuration
inference-hooks-endpoint
Claude Developer Platform · title
manage-claude/inference-hooks-endpoint
webhooks
Claude Developer Platform · title
managed-agents/webhooks
Intercept and control agent behavior with hooks
Claude Code CLI · title
agent-sdk/hooks
Hooks reference
Claude Code CLI · title
hooks
Automate actions with hooks
Claude Code CLI · title
hooks-guide
MCP, plugins, skills, and hooks
Claude Documentation · title
third-party/claude-desktop/extensions
PDF Processing
Claude Developer Platform · in the page
agents-and-tools/agent-skills/best-practices
…eate, read, update, delete) - Advanced features (batch operations, webhooks) - Error handling patterns - Code examples ## Authentication and setup ... ## Core methods ... ``` Claude can then read t…
reference
Claude Developer Platform · in the page
agents-and-tools/mcp-tunnels/reference
…compose run --rm setup <subcommand>` (Compose) or rely on the chart's hooks and CronJobs (Helm). ### `setup init` Attaches to an existing tunnel (or creates one when no tunnel ID is supplied), then…
routines-fire
Claude Developer Platform · in the page
api/claude-code/routines-fire
…y authentication, and typical callers such as CI jobs and alerting webhooks send the request directly. ## See also * [Automate work with routines](https://code.claude.com/docs/en/routines) in the Cl…
claude-platform-on-aws-iam-actions
Claude Developer Platform · in the page
api/claude-platform-on-aws-iam-actions
…ell if you need to prevent any memory-store mutation. </Note> ### Webhooks | Action | Routes authorized | | --------------------- | ------------------…
Compliance API
Claude Developer Platform · in the page
api/compliance
…An RBAC group's visibility policy was updated. - `"inference_hooks_circuit_breaker_tripped"` The organization's Inference hooks circuit breaker tripped automatically: calls to the organi…
Activities
Claude Developer Platform · in the page
api/compliance/activities
…An RBAC group's visibility policy was updated. - `"inference_hooks_circuit_breaker_tripped"` The organization's Inference hooks circuit breaker tripped automatically: calls to the organi…
Query compliance activities
Claude Developer Platform · in the page
api/compliance/activities/list
…An RBAC group's visibility policy was updated. - `"inference_hooks_circuit_breaker_tripped"` The organization's Inference hooks circuit breaker tripped automatically: calls to the organi…
claude-platform-on-aws
Claude Developer Platform · in the page
build-with-claude/claude-platform-on-aws
…ores](https://platform.claude.com/docs/en/managed-agents/memory), [webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks), [multiagent orchestration](https://platform.claude.com/docs/e…
cmek
Claude Developer Platform · in the page
manage-claude/cmek
…ents/overview) data, including agent configurations, environments, webhooks, and sessions and their events. **Claude Enterprise** * Chat content, including skills, plugins, and artifacts. * Chat att…
compliance-api
Claude Developer Platform · in the page
manage-claude/compliance-api
…claude.com/docs/en/manage-claude/compliance-sessions). ### Inference hooks [Inference hooks](https://platform.claude.com/docs/en/manage-claude/inference-hooks) (beta) act inline: your organization's…
events-and-streaming
Claude Developer Platform · in the page
managed-agents/events-and-streaming
…ok event types](https://platform.claude.com/docs/en/managed-agents/webhooks#supported-event-types) are separate, and some of their names differ from the stream's (for example, `session.status_idled` r…
migration
Claude Developer Platform · in the page
managed-agents/migration
…| | `PreToolUse` / `PostToolUse` hooks | Your client already sees every `agent.custom_tool_use` event before responding; put the logic there. For built-in tools, u…
permission-policies
Claude Developer Platform · in the page
managed-agents/permission-policies
…s/events-and-streaming#integrating-events) guide, or [subscribe to webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks) to be notified when a session pauses for input. <CodeGroup de…
reference
Claude Developer Platform · in the page
managed-agents/reference
…events. Webhook event types are listed separately in [Subscribe to webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks#supported-event-types), and some of their names differ from the…
scheduled-deployments
Claude Developer Platform · in the page
managed-agents/scheduled-deployments
…atform.claude.com/docs/en/managed-agents/events-and-streaming) or [webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks). Deployment lifecycle changes and the outcome of each schedule…
spawn.sh: called once per claimed work item
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes
…ler; it requires a webhook endpoint that Anthropic can reach (see [Webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks) for endpoint setup and signature verification). <Tabs> <Tab…
vaults
Claude Developer Platform · in the page
managed-agents/vaults
…r fails to refresh, you can subscribe to the vault and credential [webhooks](https://platform.claude.com/docs/en/managed-agents/webhooks) associated with those lifecycle changes. | Event…
overview
Claude Developer Platform · in the page
release-notes/overview
…ble to the agent for that session. ### August 5, 2026 * **Inference hooks** are now in beta for Claude Enterprise organizations. Point Claude at your organization's AI security server, and each gove…
Set up Claude Code for your organization
Claude Code CLI · in the page
admin-setup
…execution, restrict MCP servers and plugin sources, and control which hooks run. Each row is a control surface with the setting keys that drive it. | Control…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…tool results feeds back to Claude for the next decision. You can use [hooks](/docs/en/agent-sdk/hooks) to intercept, modify, or block tool calls before they run. 4. **Repeat.** Steps 2 and 3 repeat as…
Use Claude Code features in the SDK
Claude Code CLI · in the page
agent-sdk/claude-code-features
…Claude Code features in the SDK > Load project instructions, skills, hooks, and other Claude Code features into your SDK agents. The Agent SDK is built on the same foundation as Claude Code, which m…
Connect to external tools with MCP
Claude Code CLI · in the page
agent-sdk/mcp
…ssage of query({ prompt: "Use the docs MCP server to explain what hooks are in Claude Code", options: { mcpServers: { "claude-code-docs": { type: "http", url:…
Modifying system prompts
Claude Code CLI · in the page
agent-sdk/modifying-system-prompts
…hever system prompt you choose. [Skills](/docs/en/agent-sdk/skills), [hooks](/docs/en/agent-sdk/hooks), and [permissions](/docs/en/agent-sdk/permissions) also shape behavior outside the system prompt…
Observability with OpenTelemetry
Claude Code CLI · in the page
agent-sdk/observability
…ion`). * **`claude_code.hook`:** wraps each [hook](/docs/en/agent-sdk/hooks) execution. Requires detailed beta tracing (`ENABLE_BETA_TRACING_DETAILED=1` and `BETA_TRACING_ENDPOINT`) in addition to the…
Agent SDK overview
Claude Code CLI · in the page
agent-sdk/overview
…| | Hooks | Run custom code at key points in the agent lifecycle | [Hoo…
Configure permissions
Claude Code CLI · in the page
agent-sdk/permissions
…rmissions > Control how your agent uses tools with permission modes, hooks, and declarative allow/deny rules. The Claude Agent SDK provides permission controls to manage how Claude uses tools. Use p…
Plugins in the SDK
Claude Code CLI · in the page
agent-sdk/plugins
…SDK > Load custom plugins to extend Claude Code with skills, agents, hooks, and MCP servers through the Agent SDK Plugins allow you to extend Claude Code with custom functionality that can be shared…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…| ✅ Supported | | **Hooks** | ✅ Supported | ✅ Supported | | **Custom Tools** |…
Quickstart
Claude Code CLI · in the page
agent-sdk/quickstart
…ns)**: control what your agent can do and when it needs approval * **[Hooks](/docs/en/agent-sdk/hooks)**: run custom code before or after tool calls * **[Sessions](/docs/en/agent-sdk/sessions)**: buil…
Streaming Input
Claude Code CLI · in the page
agent-sdk/streaming-vs-single-mode
…participant Agent as Claude Agent participant Tools as Tools/Hooks participant FS as Environment/<br/>File System App->>Agent: Initialize with AsyncGenerator activate Agent…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…| | `hooks` | `Partial<Record<`[`HookEvent`](#hookevent)`, `[`HookCallbackMatcher`](#hookcallbackmatcher)`[]>…
Handle approvals and user input
Claude Code CLI · in the page
agent-sdk/user-input
…reasonably stay running, return the [`defer` hook decision](/docs/en/hooks#defer-a-tool-call-for-later), which lets the process exit and resume later from the persisted session. This guide shows you…
Orchestrate teams of Claude Code sessions
Claude Code CLI · in the page
agent-teams
…reated`, `TaskCompleted`, and `TeammateIdle` [hook payloads](/docs/en/hooks#taskcreated) carries the session-derived name and is deprecated. </Note> ## When to use agent teams Agent teams are most e…
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…s the rest of Claude Code and fire the [`Notification` hook](/docs/en/hooks#notification) with the `agent_needs_input` or `agent_completed` type. Background sessions don't need any terminal open to k…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…se denials programmatically, add a [`PermissionDenied` hook](/docs/en/hooks#permissiondenied), which receives it as `tool_input`. The text beneath the call tells you whether there is anything to fix.…
Best practices for Claude Code
Claude Code CLI · in the page
best-practices
…luation-works). * **As a deterministic gate**: a [Stop hook](/docs/en/hooks#stop) runs your check as a script and blocks the turn from ending until it passes. Claude Code overrides the hook and ends t…
Champion kit
Claude Code CLI · in the page
champion-kit
…ceive a desktop notification when a long-running task completes. See [Hooks](/docs/en/hooks-guide). | | Recover from an incorrect result | Rather than rephrasing…
Claude Code changelog
Claude Code CLI · in the page
changelog
…`claude agents` row now names the hook and the schema error * Fixed hooks silently treating a stdout `{…}` object that isn't valid JSON as plain text; it's now reported as a hook error with the pars…
Push events into a running session with channels
Claude Code CLI · in the page
channels
…ession with channels > Use channels to push messages, alerts, and webhooks into your Claude Code session from an MCP server. Forward CI results, chat messages, and monitoring events so Claude can rea…
Channels reference
Claude Code CLI · in the page
channels-reference
# Channels reference > Build an MCP server that pushes webhooks, alerts, and chat messages into a Claude Code session. Reference for the channel contract: capability declaration, notification events,…
Use Claude Code with Chrome
Claude Code CLI · in the page
chrome
…l} Go to code.claude.com/docs, click on the search box, type "hooks", and tell me what results appear ``` If Claude Code asks for permission before a browser action, approve it. The d…