download_file
Download a file from a Rocket.Chat server, returning it as an image, text, or base64 blob with SSRF protection and a 25 MB cap.
Instructions
Download a file from the configured Rocket.Chat server.
Returns an image, plain text, or a base64 blob depending on content type. Only fetches from the configured server host (SSRF-guarded, 25 MB cap).
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": {
"url": "<url>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes |