Claude bash
The bash tool is Anthropic's tool that lets Claude run shell commands in a session your application keeps alive. Claude asks for a command, your code runs it and returns the output, and the working directory, environment variables and files carry over to the next command until Claude asks for a restart. On Opper it works on the Messages endpoint, on Claude from Anthropic, Vertex and Bedrock alike.
Add Claude bash on Opper
Set up with agents
Paste this into your coding agent (Claude Code, Cursor, Codex, and more) and it will set up and build with Opper for you.
Key info
bashIn your code
curl https://api.opper.ai/v3/compat/v1/messages \-H "Authorization: Bearer $OPPER_API_KEY" \-H "Content-Type: application/json" \-d '{"model": "anthropic/claude-haiku-5-5", "max_tokens": 1024,"messages": [{"role": "user", "content": "List the files in this repo."}],"tools": [{"type": "bash_20250124", "name": "bash"}]}'
Use Claude bash with these models
Step-by-step setup for Claude bash on each of these models through Opper.
More tools on Opper
Claude computer use
Claude drives a desktop through screenshots, clicks and typing in your agent loop.
computer_toolsetClaude text editor
Claude reads and edits files with its own file-editing tool.
text_editorOpenAI code interpreter
GPT models write and run Python in a sandbox, on the Responses endpoint.
code_interpreter