Anthropic::ToolCaller
Inherits JSON::Serializable < Struct < Value < Object
Normalized caller information for server-side tool invocations.
The API may return this as either a legacy string or an object such as
{"type":"direct"} or {"type":"code_execution_20260120","tool_id":"..."}.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
direct?
Sourcetool_id
Sourcetype
Source