import_configuration
Apply configuration changes to a MikroTik router by importing and executing a .rsc script.
Instructions
Imports and executes a RouterOS configuration script (.rsc file) on the device.
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": "import_configuration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| verbose | No | ||
| filename | Yes | ||
| run_after_reset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |