Soroush Plus (own account): send file
soroushplus_web_send_fileSend a single file up to 20 MB to a Soroush Plus chat from an HTTPS URL or allowed local path, with images delivered as photos after confirmation.
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 SOROUSHPLUS_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": "soroushplus_web_send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | "me" for Saved Messages, @username, or a numeric chatId from messaging_web_list_chats (channels and groups are negative) | |
| caption | No | ||
| confirm | Yes | Must be true, and only after the user has explicitly approved this exact action. | |
| fileUrl | No | ||
| filePath | No |