McpToolInfo class final

One tool advertised by tools/list.

Constructors

McpToolInfo({required String name, String? description, Map<String, dynamic>? inputSchema})
Creates an McpToolInfo.
const

Properties

description → String?
The tool description, when the server provides one.
final
hashCode → int
The hash code for this object.
no setterinherited
inputSchema → Map<String, dynamic>?
The JSON schema for the tool's arguments (passed through verbatim).
final
name → String
The server-local tool name.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited