add_default_route
Add a default route to a MikroTik router by specifying the gateway, with options for distance, comment, and ping-based gateway check.
Instructions
Adds a default route.
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": {
"gateway": "<gateway>"
},
"name": "add_default_route"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| comment | No | ||
| gateway | Yes | ||
| distance | No | ||
| check_gateway | No | ping |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |