struct

Anthropic::ToolReferenceContent

Inherits JSON::Serializable < Struct < Value < Object

Tool reference content block.

Used in tool search results and tool result content arrays.

Constructors

new(tool_name : String, cache_control : CacheControl | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

cache_control
Source
tool_name
Source
type
Source