fetch_pull_request
Retrieve detailed information about specific pull requests from GitHub or GitLab repositories to support code review workflows and collaboration.
Instructions
Fetch pull request details from GitHub/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": {
"repository": "<repository>",
"pullRequestNumber": "<pullRequestNumber>"
},
"name": "fetch_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repository | Yes | Repository in format "owner/repo" | |
| pullRequestNumber | Yes | Pull request number | |
| provider | No | Git provider (github or gitlab) | gitlab |