bb_get_commit_parents
Retrieve parent commits for a given commit ID, returning one parent for a standard commit or two for a merge commit. This helps trace commit history and identify merge branches.
Instructions
Get the parent commits of a commit (usually one; two for a merge commit).
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": "bb_get_commit_parents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commitId | Yes | ||
| repoSlug | Yes | ||
| projectKey | Yes |