Commit memory summary
get_commit_summaryFor one commit, show every target's memory change against its base build: per region, the largest section and source-file changes, budget alerts, and, for targets with benchmark metrics, each metric's change. For a pull request, pass the PR's head commit SHA: its base is the tip of the PR's base branch, so the result is the whole PR's change. Use it to review a pull request or check whether a commit grew memory or moved a benchmark.
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>"
},
"name": "get_commit_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | The commit: a full commit SHA, a SHA prefix (7+ characters), or a branch or tag name. Default: the head of the default branch. For a pull request, its head commit SHA. | |
| limit | No | Section, file and metric changes per target (default 10, max 200). | |
| target | No | Only this target (default: all). | |
| 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. |