Interface: AnthropicBashTool
@providerprotocol/ai / anthropic / AnthropicBashTool
Interface: AnthropicBashTool
Section titled “Interface: AnthropicBashTool”Defined in: src/providers/anthropic/types.ts:961
Bash tool for shell command execution.
Enables Claude to execute bash commands in a shell session. The session persists within the conversation.
No beta header required.
Example
Section titled “Example”const tool: AnthropicBashTool = { type: 'bash_20250124', name: 'bash',};Properties
Section titled “Properties”name:
"bash"
Defined in: src/providers/anthropic/types.ts:965
Tool name - must be ‘bash’
type:
"bash_20250124"
Defined in: src/providers/anthropic/types.ts:963
Tool type identifier