struct

Anthropic::MCPToolListingContent

Inherits JSON::Serializable < Struct < Value < Object

MCP tool-listing content block: pins the tool list served by one MCP server at request time. Requires the mcp-client-2026-09-15 beta.

Constructors

new(mcp_server_name : String, tools : Array(MCPToolListingEntry))
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

mcp_server_name
Source
tools
Source
type
Source