struct

MCP::Protocol::Tool

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(name : String, input_schema : MCP::Protocol::Tool::Input, description : Nil | String = nil, title : Nil | String = nil, output_schema : MCP::Protocol::Tool::Input | Nil = nil, annotations : MCP::Protocol::ToolAnnotations | Nil = nil, meta : Nil | Hash(String, JSON::Any) = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

annotations
Source
description
Source
input_schema
Source
meta
Source
name
Source
output_schema
Source
title
Source

Nested types