Rubika (own account): download media
rubika_web_download_mediaSave a photo, video, or file from a specific Rubika message to the downloads folder and return its path.
Instructions
Save one message's photo, video or file under NABU_MESSAGING_FILE_ROOT/downloads/ and return its path.
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>",
"messageId": "<messageId>"
},
"name": "rubika_web_download_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | "me" for Saved Messages, @username, or an object guid from messaging_web_list_chats | |
| messageId | Yes | messageId from read_chat. |