mikrotik_execute_command
Run RouterOS CLI commands on Mikrotik devices via SSH to configure, monitor, and troubleshoot network infrastructure.
Instructions
Execute a RouterOS command via SSH
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": {
"device_id": "<device_id>",
"command": "<command>"
},
"name": "mikrotik_execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | RouterOS command (e.g. "/ip address print") | |
| device_id | Yes | Mikrotik device ID |