effect-io-ai

Package: @effect/ai-anthropic
Module: AnthropicTool

AnthropicTool.CodeExecutionBashCommand

Input payload for a bash command routed through the Anthropic code execution tool.

When to use

Use when representing a provider-executed bash command request for the 2025-05-22 code execution tool.

Details

The payload uses type: "bash_code_execution" to distinguish bash execution from programmatic code and text editor operations, and command contains the bash command to run.

See

Signature

type CodeExecutionBashCommand = typeof CodeExecutionBashCommand.Type

Source

Since v4.0.0