Anthropic::ToolRemovalContent
Inherits JSON::Serializable < Struct < Value < Object
Mid-conversation directive to withdraw a tool.
tool references a tool (or MCP toolset) from the request's tools[]; it is
no longer offered to the model from this point in the conversation onward.
Primarily request-only; serialization and echo parsing are supported.
Constructors
Convenience for a locally declared tool name.
new(pull : JSON::PullParser)
Sourcenew(tool : ToolChangeReference, cache_control : CacheControl | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
cache_control
Sourcetool
Sourcetype
Source