compareRefs
Lists commits present in the target ref but missing from the source ref, enabling comparison of branches, tags, or commits in Bitbucket.
Instructions
List commits in 'to' that are not in 'from'.
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": {
"repoSlug": "<repoSlug>",
"from": "<from>",
"to": "<to>"
},
"name": "compareRefs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Branch, tag or commit | |
| all | No | All pages, max 1000 | |
| from | Yes | Branch, tag or commit | |
| limit | No | ||
| start | No | ||
| repoSlug | Yes | ||
| projectKey | No |