apply_changes
Execute arbitrary RouterOS commands when no dedicated tool fits, using backup, rollback timer, and stop-on-first-error safety.
Instructions
Apply arbitrary RouterOS commands (one per list item) when no dedicated tool fits. Same safety net: backup + rollback timer + stop on first error.
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": {
"commands": "<commands>",
"description": "<description>"
},
"name": "apply_changes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | router | |
| dry_run | No | ||
| commands | Yes | ||
| description | Yes | ||
| rollback_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |