We just added a few major tool updates to the code execution tool...

@alexalbert__
Alex Albert@alexalbert__
49 views Sep 02, 2025 ~1 min read
Advertisement
1
We just added a few major tool updates to the code execution tool in the Anthropic API:
- bash tool for running any bash command
- str_replace for precise file editing
- view for reading files, browsing dirs, displaying images
- create for writing new files
2
We've also added some highly requested libraries/utilities:
- Seaborn for data viz (pic of example generated charts)
- OpenCV for image processing
- Command-line utilities, including bc, sqlite, unzip, rg, and fd

And we extended the container lifetime from 1 hour to 30 days.
Media image
3
Together, these updates unlock new capabilities and make the code execution tool more efficient, requiring fewer tokens on average. Learn more in the docs:
docs.anthropic.com/en/docs/agents…
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • Screenshot Tweet
Create Free Account

Includes 7-day Premium trial

Advertisement