senkani_version
Live
Version negotiation: server_version, tool_schemas_version, schema_db_version, and the list of exposed tools.
Signature
senkani_mcp.call(tool="senkani_version", args={...})
Behavior
Clients cache tool schemas keyed on `tool_schemas_version`. That number increments on any breaking change to a tool's input schema or output contract. `schema_db_version` surfaces `PRAGMA user_version` on the session DB for migration diagnostics.
Inputs
No inputs.
Output
`{{server_version, tool_schemas_version, schema_db_version, tools: [...]}}`. Includes every tool's name, input schema hash, and status.
Example
{"tool":"senkani_version"}
Details
Always safe to call; zero side effects. Good canary during upgrades.
See also
senkani doctor— Diagnose + repair registration and version mismatches.
Source:
Sources/MCPServer/Tools/VersionTool.swift