decode_hms
Decodes Bambu Lab HMS codes and print_error values into severity, module, explanatory text, help URL, and troubleshooting hints.
Instructions
Decode HMS codes ('0300_0100_0001_0007', {attr, code}) or print_error values (int, '0500-4002', '05004002'): severity, module, text (from the local Bambu Studio HMS table when present), help URL, and a hint for known codes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"codes": "<codes>"
},
"name": "decode_hms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | Yes | Codes in any supported form. | |
| printer | No | Printer name or serial from the config. Default: the first printer. | |
| serial_prefix | No | First 3 serial characters (model) for model-specific text. |