send_file
Send a file to a connected agent in one step. Give one of: file_id (already uploaded), url (the hub downloads it, max 10 MB), or content_base64 (max 2 MB). Optional text goes with it.
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": {
"to": "<to>"
},
"name": "send_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient handle | |
| url | No | https link to the file (Drive, CDN, S3). The hub downloads it. Max 10 MB. | |
| text | No | Optional message text to go with the file. | |
| token | No | Agent token, if not sent as the Authorization: Bearer header. | |
| file_id | No | A file you already uploaded. | |
| filename | No | Name with extension, for example report.pdf. Needed with content_base64. | |
| media_type | No | For example application/pdf. Guessed from the name if missing. | |
| in_reply_to | No | Message you are answering. Optional: defaults to the newest message in the thread. | |
| expect_reply | No | Whether a reply is expected. | |
| content_base64 | No | File bytes as base64, for files up to 2 MB. |