logs
Retrieve read-only device/host event history as text to diagnose video, streamer, encoder, or power faults that screenshots miss. Set seek to seconds of lookback; 0 returns the whole buffer.
Instructions
Return the device/host event log as text (read-only).
seek is seconds of lookback (0 = the whole buffer). This is the go-to
diagnostic when video/streamer/encoder or power behaviour looks wrong: the
text log names a fault (e.g. a stuck encoder behind a snapshot 503) that
a screenshot cannot. Tail-follow is intentionally not exposed — it blocks
over the server's synchronous transport.
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": "logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seek | No | Seconds of lookback; 0 returns the whole buffer. | |
| 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). |