class LittleGhost::MCP::Definition
Immutable server-advertised Tool metadata. source_name is always the name sent back to the server; name is the initially generated model-facing name and may later be customized on the generated Tool class.
Attributes
Deeply frozen MCP tool annotations.
The model-facing description, including LittleGhost’s fallback when the server omitted one.
The deeply frozen MCP input schema.
Deeply frozen MCP _meta object.
The normalized, optionally prefixed initial model-facing name.
The optional deeply frozen MCP output schema.
A deeply frozen, indifferent-access copy of the complete server definition object. Definition also delegates [], fetch, dig, and key? to this map.
The unmodified server-advertised name used for dispatch.