download_file
Retrieve a MikroTik backup or export file as base64-encoded content by specifying the filename and type. Ideal for backing up or exporting router configurations.
Instructions
Downloads a backup or export file from the MikroTik device as base64-encoded content.
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": {
"filename": "<filename>"
},
"name": "download_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| filename | Yes | ||
| file_type | No | backup |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |