print_gcode
Upload a local .gcode file to a Creality printer via SSH and start printing, or upload only to stage the file for later use.
Instructions
Send a local .gcode file to the Creality printer and start printing it.
Reaches the printer's web UI through the docker container on the configured SSH host, bypassing the public oauth2-proxy gate, and drives the same two web actions a human would: upload the file, then start the print.
Set start=False to upload only and leave the file staged on the printer.
Configuration (environment variables): CREALITY_SSH_HOST (default t580), CREALITY_PROXY_CONTAINER (default creality-proxy), CREALITY_GCODE_DIR (default /usr/data/printer_data/gcodes).
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": {
"gcode_path": "<gcode_path>"
},
"name": "print_gcode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | No | ||
| gcode_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |