Agent SDK reference - TypeScript changedagent-sdk/typescript
Nearest release: v2.1.299, published 20 hours 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 13 Oct 2026 04:17 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 13 Oct 2026 04:37 UTC.
Upstream edited
Recorded here
Lines+2added
Lines−2removed
From line
3,301
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits113to this page, all time
The whole hunk
from line 3301, old and new numbered
/
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 3301
33013301Creates and manages a structured task list for tracking progress.
33023302
33033303<Note>
3304 The following tools are available by default only on Claude 3.x models, Opus 4 through 4.7, Sonnet 4 through 4.6, and Haiku 4.5. On every other model, including model IDs Claude Code doesn't recognize, they aren't available unless you opt in:
3304 The following tools are available by default only on Claude Opus 4.7, Claude Sonnet 4.6, Claude Haiku 4.5, and earlier models. On every other model, including model IDs Claude Code doesn't recognize, they aren't available unless you opt in:
33053305
33063306 * `TodoWrite`
33073307 * `TaskCreate`
from line 4253
42534253Returns the previous and updated task lists.
42544254
42554255<Note>
4256 The following tools are available by default only on Claude 3.x models, Opus 4 through 4.7, Sonnet 4 through 4.6, and Haiku 4.5. On every other model, including model IDs Claude Code doesn't recognize, they aren't available unless you opt in:
4256 The following tools are available by default only on Claude Opus 4.7, Claude Sonnet 4.6, Claude Haiku 4.5, and earlier models. On every other model, including model IDs Claude Code doesn't recognize, they aren't available unless you opt in:
42574257
42584258 * `TodoWrite`
42594259 * `TaskCreate`
from line 5285
52855285 hook_id: string;
52865286 hook_name: string;
52875287 hook_event: string;
5288 uuid:
5288 uuid: UUID
No line in this hunk matches that.