Skip to content

Interface: AnthropicBashTool

@providerprotocol/ai


@providerprotocol/ai / anthropic / 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.

const tool: AnthropicBashTool = {
type: 'bash_20250124',
name: 'bash',
};

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