gcode_run_macro
Execute a saved macro on your CNC machine by first reviewing its G-code preview and then confirming with a token for safe operation.
Instructions
Run a saved macro by name. Call with no token first to get the G-code preview, safety check, and confirmation token. The user must provide the token back before the macro runs. Claude CANNOT self-confirm - the token enforces this at the server level.
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": {
"name": "<name>"
},
"name": "gcode_run_macro"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| confirmation_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |