set_printer_motors
Enable or disable the printer stepper motors
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": {
"printer_id": "<printer_id>",
"enabled": "<enabled>"
},
"name": "set_printer_motors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| macros | No | Predefined macro names, sent as one G-code block in this order. Either gcode, macro, macros, or snippet_id is required. | |
| enabled | Yes | Motor state: "on" to enable motors (lock axes), "off" to disable (allow manual movement) | |
| printer_id | Yes | The printer IDs (comma-separated for multiple) | |
| snippet_id | No | ID of a gcode snippet to send. Either gcode, macro, macros, or snippet_id is required. |