Torch
torchCapture a live traffic snapshot on a MikroTik router interface for 1-30 seconds and return per-flow TX/RX rates in bits and packets per second.
Instructions
Capture a real-time traffic snapshot on a router interface. RouterOS runs the capture for duration seconds; the tool returns the flows of the final update with their TX/RX rates in bits per second and packets per second. Not auto-retried.
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": {
"interface": "<interface>"
},
"name": "torch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Capture duration in seconds (1–30) | |
| routerId | No | Router ID; omit to use the default router. | |
| interface | Yes | Interface name to monitor (e.g. ether1, bridge1) | |
| dstAddress | No | Filter by destination IP address | |
| srcAddress | No | Filter by source IP address |