run_sd_file
Execute G-code programs stored on a CNC controller's SD card to control machine operations. Requires confirmation for safety.
Instructions
Run a G-code file from the CNC controller's SD card. 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": {
"filepath": "<filepath>"
},
"name": "run_sd_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | Yes | Path to the G-code file on SD card | |
| confirm | No | Must be true to run the file |