hms_import
Import HMS error code definitions from a JSON file into Bambu Sentinel, supporting custom dictionaries and Bambu Studio HMS exports for error lookup and retry behavior.
Instructions
Import an HMS dictionary from a JSON file: either {"": {"text","severity","retry"}} or a Bambu Studio style hms json (data.device_hms.en[{ecode,intro}]). Saved to ~/.bambu-sentinel/hms.json. retry: retry | human | never controls automatic reprints.
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": {
"file_path": "<file_path>"
},
"name": "hms_import"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |