Anthropic::CodeExecutionTool20250522
Inherits JSON::Serializable < Anthropic::ServerTool < JSON::Serializable < Struct < Value < Object
Original code execution tool (May 2025 variant, beta-only).
Preserved for parity and for conversations that still reference the
initial code_execution_20250522 tool type. Most new code should use
CodeExecutionTool (2025-08-25) or CodeExecutionTool20260120.
Constructors
new(pull : JSON::PullParser)
Original code execution tool (May 2025 variant, beta-only).
Preserved for parity and for conversations that still reference the
initial code_execution_20250522 tool type. Most new code should use
CodeExecutionTool (2025-08-25) or CodeExecutionTool20260120.
new(cache_control : CacheControl | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cache_control
Sourcename
Sourcetype
Source