get_pull_request
Fetch complete pull request details including title, description, author, branches with commit hashes, state, and reviewer approval status.
Instructions
Get full metadata of a pull request: title, description, author, branches with commit hashes, state, and reviewers with their approval status.
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": "<repo>",
"pr_id": "<pr_id>"
},
"name": "get_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository slug, e.g. "my-service" (not the full URL). | |
| pr_id | Yes | Pull request id, e.g. 42. | |
| workspace | No | Workspace id. Optional when the BITBUCKET_WORKSPACE env var is set. |