history
Indexed commit history. Ops:
commits: recent commits (metadata + file list); <=200/call, default 50. With a clone prefer git log.
commit: one commit by sha with its diff summary (added/modified/deleted/renamed); null if outside the indexed window.
recently_changed: files ranked by change frequency in the indexed window ("what's hot").
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": {
"op": "<op>"
},
"name": "history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | Yes | commits: recent commits (metadata + file list). commit: one commit in detail. recently_changed: most-changed files over the window. | |
| sha | No | op:commit. The commit to read (7-64 hex). | |
| path | No | Restrict to commits touching this repo-relative path. | |
| limit | No | Max rows (default 50, max 200). | |
| since | No | ISO datetime lower bound. | |
| until | No | ISO datetime upper bound. | |
| author | No | Filter by author name or email substring. | |
| feedback | No | Optional: report how a previous answer worked out; piggybacks on any call. | |
| projectId | No | Project id from init/list_projects. Omit for the active project. | |
| repository | No | Repository full name, e.g. "owner/repo". Omit when the project has one repository. |