Anthropic::Usage
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cache_creation_input_tokens
Sourcecache_read_input_tokens
Sourceinput_tokens
Sourceoutput_tokens
Sourceserver_tool_use
Sourceserver_tool_use=(server_tool_use : ServerToolUse | Nil)
Source