Put a file
put_fileUpload a file to an e-ink device's app directory; provide text or base64 binary, and it syncs on the device's next pull.
Instructions
Upload a file by path (relative, as it will appear in the device app directory). Give text as content or binary as content_base64. Devices pick it up on their next sync.
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": {
"path": "<path>"
},
"name": "put_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | relative path, e.g. app.js or data/2026-09-16.json | |
| content | No | UTF-8 text content | |
| content_type | No | MIME type; guessed from the extension when omitted | |
| content_base64 | No | binary content, base64 |