load_gcode
Load G-code files into CNCjs to prepare CNC machine jobs for execution. This tool transfers G-code content to the CNCjs server for processing and running on GRBL-based CNC machines.
Instructions
Load G-code content into CNCjs for execution
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>",
"content": "<content>"
},
"name": "load_gcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | File name for the G-code | |
| content | Yes | G-code content to load |