Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Hooks reference changedhooks

Upstream edited this page at 11 Nov 2026 17:01 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 11 Nov 2026 17:07 UTC.

Upstream edited
Recorded here
Lines+1added
Lines−1removed
From line 2,337 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits136to this page, all time

The whole hunk

from line 2337, old and new numbered
/
lines

This page is larger than the 256 KiB this site keeps, so one side of the diff below stops where the stored text does.

from line 2337
23372337 
23382338#### Annotate a result for the auto mode classifier
23392339 
2340Return `classifierContext` to send a short note about the tool call's result to the [auto mode](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode) classifier rather than to Claude. The classifier [never receives tool results themselves](https://code.claude.com/docs/en/permission-modes.md#how-the-classifier-evaluates-actions), so this field is the supported way to tell it something about what a call returned before it reviews later actions. The field requires Claude Code v2.1.236 or later.
2340Return `classifierContext` to send a short note about the tool call's result to the [auto mode](https://code.claude.com/docs/en/permission-modes.md#eliminate-prompts-with-auto-mode) classifier rather than to Claude. The note is for the classifier's review of later actions. The field requires Claude Code v2.1.236 or later.
23412341 
23422342The example below tells the classifier where a query's output came from:
23432343 
from line 3681
36813681 
36823682Runs when an MCP server requests user input mid-task. By default, Claude Code shows an interactive dialog for the user to respond. Hooks can intercept this request and respond programmatically, skipping the dialog entirely.
36833683 
3684For a complete hook with its settings entry and script, see [Answer a form request from a script](#answer-a-form-reque
3684For a complete hook with its settings entry and script, see [Answer a form request from a script](#answer-a-form-request-from-a-script).
3685 
3686The matcher field matches against the MCP server name.
3687 
3688#### Elicitation input
3689 
3690In addition to the [common input fields](#common-input-fields), Elicitation hooks receive `mcp_server_nam
Feedback