A figure beside its previous sample
since_lastUse this to ask whether a figure moved, and by how much. One measured figure with the stored sample it moved from: current, prior, delta, delta_ratio, both timestamps, definition id, unit, and whether the move is material under the published thresholds. window: sweep (the previous stored sample, the default), 24h, 7d or 30d. No prior sample inside the window returns gap: true and no delta; nothing is interpolated. Accepts a metric key or a definition id.
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": {
"metric_id": "<metric_id>"
},
"name": "since_last"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | What to compare with: sweep (the previous stored sample, the default), or the sample 24h, 7d or 30d back | sweep |
| metric_id | Yes | Metric key (actors_l7_plus) or definition id (rank.l7plus.v1) |