copy_file
Copy files or directories on a QIDI printer by specifying source and destination paths; confirm=true must be set before execution.
Instructions
Copy a file/directory on the printer. Both paths include the root, e.g. source='gcodes/a.gcode', dest='gcodes/backup/a.gcode'. 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": {
"source": "<source>",
"dest": "<dest>"
},
"name": "copy_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | ||
| source | Yes | ||
| confirm | No | ||
| confirm_token | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||