upload_gcode
Uploads a G-code file to a networked 3D printer without starting it and returns the remote file path for later print control.
Instructions
Upload a G-code to a networked printer without starting it. Returns the remote path.
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": {
"host": "<host>",
"gcode_path": "<gcode_path>"
},
"name": "upload_gcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | ||
| gcode_path | Yes |