get_stats
Retrieve Pi-hole summary statistics, including total and blocked queries, block percentage, unique domains, and clients. Query any time range with Unix timestamps.
Instructions
Summary statistics (total/blocked queries, percentage, unique domains, clients).
Pass from_ts and until_ts (Unix timestamps) to query the long-term database for any range.
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_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_ts | No | ||
| until_ts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||