express_download_file
Downloads and decrypts an eXpress chat attachment to a local folder and returns its path for normal file access. Requires chatId and syncId.
Instructions
Download a document/file attachment: the app decrypts it and the file is saved to a local folder, then you can read it as a normal file (returns the path). Needs chatId + the message syncId (from read/open/thread output). Saves into ~/Downloads/express-reader by default; override with folder (relative = subfolder of ~/Downloads, absolute = used as-is) or the EXPRESS_DOWNLOAD_DIR env var. Max 25 MiB. SIDE EFFECT: opens the chat (marks read).
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": {
"chatId": "<chatId>",
"syncId": "<syncId>"
},
"name": "express_download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | ||
| folder | No | Save folder; relative is placed under ~/Downloads, absolute is used directly | |
| syncId | Yes |