sniff_packets
Captures packet headers briefly on a MikroTik router to inspect live traffic by IP, port, protocol, MAC, or interface without saving data.
Instructions
Captures packet headers for a few seconds with the quick packet sniffer (needs the "sniff" policy).
Notes: Shows headers only (interface, direction, MACs, addresses, protocol, size); nothing is saved on the router. ip_address matches source or destination. port: "53", "80,443" or "1000-2000".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sniff_packets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | No | ||
| device | No | ||
| duration | No | ||
| interface | No | ||
| ip_address | No | ||
| ip_protocol | No | ||
| mac_address | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |