Tools reference changedtools-reference
Upstream edited this page at 11 Nov 2026 16:39 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
193
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits87to this page, all time
The whole hunk
from line 193, old and new numbered
/
from line 193
193193The time limit counts from the moment the command enters the background:
194194
195195* A command that Claude starts in the background gets 30 minutes, or the `timeout` Claude passes with `run_in_background`, up to a maximum of 2 hours
196* A command that starts in the foreground and then moves to the background, for example at its timeout, gets 30 minutes from the move
196* A command that starts in the foreground and then moves to the background at its timeout gets 30 minutes from the move
197197
198198In a run with the `-p` flag whose prompt you pass as text rather than with `--input-format stream-json`, both defaults are 10 minutes instead of 30, because the run [waits for background commands after its result](https://code.claude.com/docs/en/headless.md#background-tasks-at-exit).
199199
No line in this hunk matches that.