snapshot
Capture the live KVM screen read-only to verify host state, detect stale frames, and obtain a frame reference for safe absolute clicks.
Instructions
Capture the current KVM screen (read-only).
Returns [json_text, image]: the JSON carries a frame_ref
(host:generation:hash) — pass it back to the mouse tool as
observed_frame_ref so an absolute click can be refused if the host rebooted
or swapped media since you looked.
It also carries the live signal state (online/resolution/fps/format,
#143) and unchanged_since_last_snapshot (#141): a byte-identical frame
when the screen should have changed means the pixels are stale/cached — do
NOT trust them as ground truth; check signal and logs instead.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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). |