events
Retrieves printer status changes, progress, stage, speed, errors, and connection updates, with filters and long-polling so clients can monitor jobs and react to failures.
Instructions
Events from the background connection: STATE changes, PROGRESS every 10 %, STAGE, SPEED, HMS, ERROR, REPLY failures, END, CONNECTED/DISCONNECTED. Pass the returned next_since to get only new events. wait_s long-polls up to 60 s for a new event.
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": "events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Filter by kind, e.g. ["STATE","ERROR","END"]. | |
| limit | No | Max events (default 100). | |
| since | No | Return events with seq > since. | |
| wait_s | No | Wait up to this many seconds (max 60) for a new event. | |
| printer | No | Printer name or serial from the config. Default: the first printer. |