calibrate_mouse
Measure and store this host's mouse movement correction so clicks land where intended; run it on a static screen with a visible cursor, then calibrated percent coordinates apply transparently.
Instructions
Measure and store this host's mouse commanded→observed correction (#128).
Fixes "clicks where the button should be and misses". Pointer moves only —
no clicks, no keystrokes — but it visibly moves the live cursor ~10-30s,
so it is gated like HID input (KVM_PILOT_MCP_ALLOW_HID; one approval
covers the whole run). Preconditions: live video signal, a static
screen, and a visible cursor. Afterwards mouse percent
coords apply it transparently (calibrated: true); stored per (host,
capture resolution) — a resolution change makes it stale, never applied.
Mechanism details: the MCP server README.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Per-invocation approval when the client cannot prompt a human: set true to approve this exact call under the operator's standing policy. Leave false when the client supports elicitation (a human is asked). Never pre-set it speculatively; a denial returns outcome=not_confirmed. | |
| profile | No | Profile name from ~/.config/kvm-pilot/config.toml selecting which KVM/BMC (and its managed host) this call targets. Omit to use the server's default (KVM_PILOT_PROFILE). | |
| tolerance | No | Max held-out verification error, as a fraction of the screen, for the fit to be stored. |