Skip to main content

version_tool_definition

Function version_tool_definition 

Source
pub fn version_tool_definition() -> ToolDefinition
Expand description

Return the MCP tool definition for apr.version.

FALSIFY-MCP-008: the inputSchema is parsed from the build-time codegen constant crate::schemas::APR_VERSION_SCHEMA, which build.rs emits from contracts/apr-mcp-tool-schemas-v1.yaml. The contract is the single source of truth — the live tools/list response and the YAML must agree byte-for-byte after JSON canonicalization (asserted by tests/falsify_mcp_008.rs).