Skip to Content
MosaicMosaicDocs
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

ParameterTypeRequiredDescription
inputstringYesThe bash command or instruction to execute.

On this page