get_pull_request
Retrieve detailed information about a specific pull request or merge request from GitHub or GitLab repositories to review changes and status.
Instructions
Get details of a pull request (merge request in GitLab)
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_number": "<pr_number>"
},
"name": "get_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository identifier (GitLab: "group/project" or ID, GitHub: "owner/repo") | |
| pr_number | Yes | Pull request number |