get_history
Fetch historical Pi-hole DNS activity counts—allowed, blocked, and other—per time bucket from the long-term database, with optional from_ts and until_ts filters.
Instructions
Time-series activity: allowed/blocked/other counts per bucket. from_ts/until_ts use the long-term database.
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_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_ts | No | ||
| until_ts | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||