Rubika bot: send file
rubika_bot_send_fileSends one file to an allowed Rubika chat or channel from an HTTPS URL or permitted local path, requiring explicit confirmation before delivery.
Instructions
Send ONE file from an https URL or a path inside NABU_MESSAGING_FILE_ROOT. Needs confirm: true, the chat in RUBIKA_ALLOWED_CHAT_IDS 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_bot_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| chatId | Yes | Rubika chat, group or channel id for the bot. | |
| caption | No | ||
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact action. | |
| fileUrl | No | ||
| filePath | No |