Metric history
metric_historyUse this to chart a figure over time. The history of one measured metric from the ledger's archive (daily points, plus 5-minute points for the last 48 hours). Gaps are real gaps, never filled. An unknown key returns similar keys and the full list of archived keys.
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": {
"key": "<key>"
},
"name": "metric_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Metric key, e.g. actors_l7_plus or observed_pay_usd_total | |
| range | No | How far back to go: 24h, 7d, 30d (the default) or 90d | 30d |