Tool Reference
BashCodeExecution
Execute a bash command in a sandboxed environment using Claude's built-in code execution tool.
Starter documentation. Features and account details may differ from this deployment.
BashCodeExecution
Execute a bash command in a sandboxed environment using Claude's built-in code execution tool. Use it only when the user asks to run code, or for a calculation you cannot do reliably in your head.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
input | string | Yes | The bash command or instruction to execute. |