Anthropic::ToolChangeToolReference
Inherits JSON::Serializable < Struct < Value < Object
Reference to a single tool declared directly in the request's tools[].
Used by mid-conversation tool_addition / tool_removal blocks.
Does not accept the composed {server}_{name} form assigned to MCP-resolved
tools — use ToolChangeMCPToolReference or ToolChangeMCPToolsetReference.
Distinct from ToolReferenceContent (tool search results), which uses
tool_name rather than name.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
name
Sourcetype
Source