counterpart_print_progress
Reads cached Bambu printer state and current job progress—percent, time left, layers, temperatures, filament, HMS messages—without querying the printer; reports offline if unreachable.
Instructions
Counterpart contract (counterpart/1): the printer's state, current job (name, task id, percent, time left, layers, stage words), temperatures, active filament and problems with Bambu's HMS messages and links. Read from the MQTT report this server keeps, so a held session asks the printer nothing; observedAt is when the printer sent it. An unreachable printer reports state offline. Read-only; not a safety check.
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": "counterpart_print_progress"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Hostname or IP of the printer (default: value from env) | |
| bambu_model | No | Printer model; defaults to BAMBU_MODEL. Used for the chamber sensor and Bambu's per-model messages. | |
| bambu_token | No | Access token (default: value from env) | |
| bambu_serial | No | Serial number (default: value from env) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | No | ||
| state | Yes | ||
| temps | No | ||
| contract | Yes | ||
| problems | Yes | ||
| observedAt | Yes | When the printer reported this (MQTT report time), ISO 8601. | |
| activeFilament | No |