Get a pull/merge request with its reviews
get_pull_requestFetch a pull request or merge request and its reviews/approvals from GitHub or GitLab in one call, with cross-referenceable IDs for testing integrations.
Instructions
Fetch one PR (GitHub) / MR (GitLab) plus its reviews (GitHub) / approvals (GitLab). Returns both in one result; each carries provider-form ids for cross-referencing.
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": {
"provider": "<provider>",
"number": "<number>"
},
"name": "get_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| number | Yes | ||
| provider | Yes |