get_commit_diffstat
Retrieve a summary of file changes and line counts for a specific commit or commit range in a Bitbucket repository.
Instructions
Get the diffstat (summary of changes) for a commit or commit range.
Args: repo_slug: Repository slug (name) spec: Commit hash or range (e.g., "abc123" or "abc123..def456") workspace: Bitbucket workspace (optional if configured)
Returns: List of files changed with line counts
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": {
"repo_slug": "<repo_slug>",
"spec": "<spec>"
},
"name": "get_commit_diffstat"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| spec | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||