send_file
Send a file to a Viber user by providing the receiver's ID, a public file URL, file size, and file name.
Instructions
Send a file attachment to a Viber user
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": {
"receiver": "<receiver>",
"media": "<media>",
"size": "<size>",
"file_name": "<file_name>"
},
"name": "send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| receiver | Yes | Viber user ID of the receiver | |
| media | Yes | Public URL of the file (≤50MB; see Viber docs for forbidden extensions) | |
| size | Yes | File size in bytes | |
| file_name | Yes | File name with extension | |
| sender_name | No | Display name override (≤28 chars) | |
| sender_avatar | No | Avatar URL override |