Skip to main content

document

Function document 

Source
pub fn document(_info: &Info, ops: &[Operation]) -> Document
Expand description

Assemble an MCP tool manifest.

info is unused: a tool manifest has no document-level metadata to carry, and inventing a wrapper object for it would break every client that reads the standard { "tools": [...] } shape.