get_device_flows
Retrieves a NetFlow exporter device's recent flow records, including source/destination IP, port, DNS name, ASN, protocol, and bytes, with pagination; reports FEATURE_DISABLED when NetFlow is off.
Instructions
List a NetFlow exporter device's flow records over the last hours_back hours, rows as the API returns them; the API reference gives each flow its source and destination IP, port, DNS name and ASN, its protocol and its bytes. Answers FEATURE_DISABLED when the portal has NetFlow off for the device.
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>"
},
"name": "get_device_flows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results | |
| offset | No | Pagination offset | |
| device_id | Yes | NetFlow exporter device ID | |
| hours_back | No | Hours of flows to read, ending now |