struct

Anthropic::CodeExecutionTool

Inherits JSON::Serializable < Anthropic::ServerTool < JSON::Serializable < Struct < Value < Object

Code execution tool - allows Claude to run code in a sandbox

Constructors

new(pull : JSON::PullParser)

Code execution tool - allows Claude to run code in a sandbox

Source
new(allowed_callers : Array(String) | Nil = nil, cache_control : CacheControl | Nil = nil, defer_loading : Bool | Nil = nil, strict : Bool | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

allowed_callers
Source
cache_control
Source
defer_loading
Source
name
Source
strict
Source
type
Source