Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Tools reference changedtools-reference

Upstream edited this page at 28 Nov 2026 19:22 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 28 Nov 2026 19:37 UTC.

Upstream edited
Recorded here
Lines+3added
Lines−3removed
From line 158 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 158, old and new numbered
/
lines
from line 158
158158 
159159### Timeout and output limits
160160 
161Each command runs under a timeout, and Claude manages it: when it wants longer than the default for a command, it passes the `timeout` parameter with that call. You never set a per-command timeout.
161Each command runs under a timeout, and Claude manages it: when it wants longer than the default for a command, it passes the `timeout` parameter with that call.
162162 
163163Two [environment variables](https://code.claude.com/docs/en/env-vars.md) control what Claude gets for a command that runs in the foreground:
164164 
from line 253
253253 
254254## Edit tool behavior
255255 
256The Edit tool performs exact string replacement. It takes an `old_string` and a `new_string` and replaces the first with the second. It doesn't use regex or fuzzy matching.
256The Edit tool performs exact string replacement. It takes an `old_string` and a `new_string` and replaces the first with the second.
257257 
258258These checks must pass for an edit to apply. Before any of them, a path matched by a [`Read` deny rule](https://code.claude.com/docs/en/permissions#tool-specific-permission-rules) is refused, including creating a new file there.
259259 
from line 443
443443 
444444## NotebookEdit tool behavior
445445 
446NotebookEdit modifies a Jupyter notebook one cell at a time, targeting cells by their `cell_id`. It doesn't perform string replacement across the notebook the way [Edit](#edit-tool-behavior) does on plain files.
446NotebookEdit modifies a Jupyter notebook one cell at a time, targeting cells by their `cell_id`.
447447 
448448Three edit modes control what happens to the target cell:
449449 
Feedback