Soroush Plus bot: send file
soroushplus_bot_send_fileSend a single file to a Soroush Plus chat, group, or channel from an HTTPS URL or allowed local path after explicit confirmation.
Instructions
Send ONE file from an https URL or a path inside NABU_MESSAGING_FILE_ROOT. Needs confirm: true, the chat in SOROUSHPLUS_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": "soroushplus_bot_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | ||
| chatId | Yes | Soroush Plus 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 |