Follow Discord
Sweep 24 Nov 2026 · 22:58Z Build v2.1.332 549 read Stable v2.1.326 Latest v2.1.332 Next v2.1.332 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Agent SDK reference - Python changedagent-sdk/python

Nearest release: v2.1.291, published under an hour after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.

Upstream edited this page at 6 Oct 2026 03:21 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 6 Oct 2026 03:37 UTC.

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

The whole hunk

from line 2068, old and new numbered
/
lines
from line 2068
20682068 
20692069Parameters:
20702070 
2071* `input`: Strongly-typed hook input with discriminated unions based on `hook_event_name` (see [`HookInput`](#hookinput))
2071* `input`: Strongly typed hook input with discriminated unions based on `hook_event_name` (see [`HookInput`](#hookinput))
20722072* `tool_use_id`: Optional tool use identifier (for tool-related hooks)
20732073* `context`: Hook context with additional information
20742074 
Feedback