Skip to main content

Calibration tools (MCP)

Generated content. This page is produced by cargo run --bin gen_docs (src-tauri/src/bin/gen_docs/) reading the live rmcp::ToolRouter this crate's MCP server actually registers (McpServer::tool_router_* in src-tauri/src/mcp/), via ToolRouter::list_all(), re-run on every docs-site build. Do not hand-edit it: fix the generator or the source it reads instead.

Each tool below is a thin wrapper over the identical operation the HTTP and gRPC APIs expose: same underlying MaslowService method, same effect on the machine, just a different transport. The See also line under each tool cross-references the other two surfaces, found by matching the tool's name against the real HTTP route table and the compiled proto descriptor (not a hand-maintained mapping, so it can't point at the wrong route).

solve_calibration

Solve Maslow frame anchor coordinates from raw belt-length measurements, without touching the machine. Pure computation, no physical side effects; useful to verify a fit or re-solve after excluding a suspect waypoint.

See also: HTTP POST /v1/calibrations:solve · gRPC CalibrationService.SolveCalibration

ParameterTypeRequiredDescription
excludearray of integernoZero-based measurement indices to exclude from the solve (what-if waypoint exclusion), without touching the machine.
initialanynoStarting anchor guess, as frame anchors (matching what a config dump provides). If omitted, the solver falls back to the firmware default frame.
measurementsarray of anyyesRaw belt-length measurements at each calibration waypoint, in order.
solverstring or nullnoSolver identifier; currently only "levenberg-marquardt" is implemented.