remarkable_upload
Upload local PDF or EPUB files to your reMarkable tablet via cloud, SSH, or USB web. Supports specifying destination folder and document name.
Instructions
Upload a PDF or EPUB file to the reMarkable tablet. Uploads a local file to the tablet. Only PDF and EPUB formats are supported. Works in all three transports:
Cloud: uploaded via the sync protocol; supports parent_folder + document_name
SSH: transferred over SSH, metadata created; supports parent_folder + document_name
USB web: uploaded via POST /upload. The multipart filename carries document_name, parent_folder is ignored, and the tablet web service chooses the destination folder.
Requires write mode (the default; disabled with --read-only).
file_path: Absolute path to the local PDF or EPUB file
parent_folder: Destination folder path on tablet (default: root "/"). Honored in cloud and SSH modes; ignored by the USB web interface.
document_name: Display name on tablet (default: filename without extension). Honored in every mode; USB web uses it as the uploaded filename.
defer_restart: SSH only. When True, skip the xochitl restart that normally makes the upload visible. Use this for every upload in a batch, then call remarkable_refresh() ONCE at the end. Each restart forces a full document-store rescan that briefly destabilises the SSH link, so deferring turns N restarts (and N races) into one. The response sets "refresh_pending": true while a refresh is owed. Ignored in cloud/USB modes (no xochitl).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| defer_restart | No | ||
| document_name | No | ||
| parent_folder | No | / |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |