Agent SDK reference - Python changedagent-sdk/python
Nearest release: v2.1.286, published under an hour before 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 30 Sep 2026 17:31 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 30 Sep 2026 17:37 UTC.
Upstream edited
Recorded here
Lines+3added
Lines−1removed
From line
2,617
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits39to this page, all time
The whole hunk
from line 2617, old and new numbered
/
from line 2617
26172617
26182618**Tool name:** `Bash`
26192619
2620For what sets the foreground ceiling, see [Timeout and output limits](/docs/en/tools-reference#timeout-and-output-limits). For the background time limit, see [Background commands](/docs/en/tools-reference#background-commands).
2621
26202622**Input:**
26212623
26222624```python theme={null}
26232625{
26242626 "command": str, # The command to execute
2625 "timeout": int | None, # Optional timeout in milliseconds (max 600000; higher values are clamped to the max)
2627 "timeout": int | None, # Milliseconds. Foreground: capped at 600000 by default, higher values are clamped. With run_in_background (Claude Code v2.1.285 or later): the background time limit, 1800000 when omitted, capped at 7200000 unless raised
26262628 "description": str | None, # Clear, concise description (5-10 words)
26272629 "run_in_background": bool | None, # Set to true to run in background
26282630}
No line in this hunk matches that.