bash-tool changedagents-and-tools/tool-use/bash-tool
Nearest release: v2.1.318, published 4 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+3added
Lines−3removed
From line
54
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits16to this page, all time
The whole hunk
from line 54, old and new numbered
/
from line 54
5454 curl https://api.anthropic.com/v1/messages \
5555 -H "content-type: application/json" \
5656 -H "x-api-key: $ANTHROPIC_API_KEY" \
57 -H "anthropic-version: 2023-06-01" \
57 -H "anthropic-version: 2026-10-21" \
5858 -d '{
5959 "model": "claude-opus-5-5",
6060 "max_tokens": 1024,
from line 280
280280
281281`bash_20250124` is the current version of the tool, and it requires no beta header. Every model from Claude Sonnet 3.7 ([retired](https://platform.claude.com/docs/en/about-claude/model-deprecations)) onward accepts it, including all current Claude models.
282282
283The original `bash_20241022` version works only with the October 2024 Claude Sonnet 3.5 model ([retired](https://platform.claude.com/docs/en/about-claude/model-deprecations)). Requests that use it need the `anthropic-beta: computer-use-2024-10-22` header, and the SDK exposes it only in its beta namespace. New integrations should use `bash_20250124`.
283The `bash_20241022` version works only with the October 2024 Claude Sonnet 3.5 model ([retired](https://platform.claude.com/docs/en/about-claude/model-deprecations)). Requests that use it need the `anthropic-beta: computer-use-2024-10-22` header, and the SDK exposes it only in its beta namespace. New integrations should use `bash_20250124`.
284284
285285## Example: Multistep automation
286286
from line 862
862862 curl https://api.anthropic.com/v1/messages \
863863 -H "content-type: application/json" \
864864 -H "x-api-key: $ANTHROPIC_API_KEY" \
865 -H "anthropic-version: 2023-06-01" \
865 -H "anthropic-version: 2026-10-21" \
866866 -d '{
867867 "model": "claude-opus-5-5",
868868 "max_tokens": 1024,
No line in this hunk matches that.