get_commit_detail
Retrieve commit metadata, changed files, or full unified diff for a specific commit. Control output size by selecting detail level.
Instructions
Get details of a specific commit: commit metadata, changed file list, or full unified diff. Use detail level to control output size.
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": {
"projectKey": "<projectKey>",
"repoSlug": "<repoSlug>",
"commitId": "<commitId>"
},
"name": "get_commit_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | Level of detail: 'metadata' (just commit info), 'files' (changed file list without diffs), 'full' (unified diff for each file) | |
| commitId | Yes | The commit SHA | |
| repoSlug | Yes | The repository slug | |
| projectKey | Yes | The project key (e.g., PROJ) |