Rubika (own account): send file
rubika_web_send_fileSend a single file (up to 20 MB) to an approved Rubika chat from an HTTPS URL or allowed local path, with images delivered as photos and explicit confirmation required.
Instructions
Send ONE file (up to 20 MB) from an https URL or a path inside NABU_MESSAGING_FILE_ROOT; images go as photos. Needs confirm: true after the user approves, the chat in RUBIKA_WEB_ALLOWED_CHATS and NABU_MESSAGING_ENABLE_SEND=1.
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>",
"confirm": "<confirm>"
},
"name": "rubika_web_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | "me" for Saved Messages, @username, or an object guid from messaging_web_list_chats | |
| caption | No | ||
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact action. | |
| fileUrl | No | ||
| filePath | No |