get_policy_stats
Retrieve hit counts, bytes, packets, and last-used time for FortiGate firewall policies, optionally filtered by VDOM or policy ID.
Instructions
Hit counts, bytes, packets and last-used time per policy.
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": "get_policy_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| policyid | No | Limit to one policy (optional) |