spindle_control
Control CNC spindle rotation and speed: turn clockwise or counterclockwise with RPM settings, or turn off. Turning on requires confirmation for safety.
Instructions
Control the spindle: turn on (CW/CCW with speed) or off. Turning on requires confirm=true.
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": {
"action": "<action>"
},
"name": "spindle_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Spindle action: on_cw (M3), on_ccw (M4), or off (M5) | |
| speed | No | Spindle speed in RPM (required for on) | |
| confirm | No | Must be true to turn spindle on |