huddo_download
Save the attachments of a message to a local directory (default: $HUDDO_HOME/downloads) and return the file paths. Works for any message in the room's history; files downloaded before come from the local store without contacting the…
Instructions
Save the attachments of a message to a local directory (default: $HUDDO_HOME/downloads) and return the file paths. Works for any message in the room's history; files downloaded before come from the local store without contacting the server. Existing files are never overwritten; a numbered copy is written instead.
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": {
"msgid": "<msgid>"
},
"name": "huddo_download"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Identity slug to act as (default: the active identity) | |
| room | No | roomId or index from huddo_list, for this call only (default: the default room) | |
| msgid | Yes | Message id (msg_...) with the attachments | |
| out_dir | No | Directory (default: $HUDDO_HOME/downloads) |