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(allowed_callers : Array(String) | Nil = nil, cache_control : CacheControl | Nil = nil, defer_loading : Bool | Nil = nil, strict : Bool | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
allowed_callers
Sourcecache_control
Sourcedefer_loading
Sourcename
Sourcestrict
Sourcetype
Source