struct

Anthropic::MCPToolUseContent

Inherits JSON::Serializable < Struct < Value < Object

MCP tool use content block (Claude using an MCP tool)

Constructors

new(id : String, name : String, server_name : String, input : JSON::Any)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

input
Source
input_as(type : T.class) : T forall T

Parse input into a typed struct

Source
name
Source
server_name
Source
type
Source