upload_to_sd
Upload files to a CNC controller's SD card for FluidNC firmware, enabling G-code transfer and file management directly to the machine's storage.
Instructions
Upload a file to the CNC controller's SD card.
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": {
"filename": "<filename>",
"content": "<content>"
},
"name": "upload_to_sd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Filename for the file on SD card | |
| content | Yes | File content to upload | |
| path | No | Destination directory on SD card (default: root) | / |