Benchmark metric history
get_metric_historyList a target's benchmarked commits, newest first, with each benchmark metric's value (cycle counts, timings, scores that CI attached) and its change from the previous commit that had the metric. Use it to see how a benchmark evolved and to find the commit that moved it; page back with 'offset'.
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": {
"project": "<project>",
"target": "<target>"
},
"name": "get_metric_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | Where to start: a full commit SHA, a SHA prefix (7+ characters), or a branch or tag name. Default: the head of the default branch. | |
| limit | No | Commits per page (default 30, max 200). | |
| offset | No | Commits to skip, for paging (default 0). | |
| target | Yes | Target name (see list_targets). | |
| metrics | No | Only these metrics (default: all of the target's metrics). | |
| project | Yes | The project: a public project's GitHub 'owner/repo' (no API key needed), or, with an API key, a project id or name from list_projects. |