Get pull request
get_pull_requestRetrieve a pull request by owner, repository, and number to review its details and mergeability status.
Instructions
Get a pull request, including mergeability.
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": {
"owner": "<owner>",
"repo": "<repo>",
"index": "<index>"
},
"name": "get_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| index | Yes | Pull request number | |
| owner | Yes | Repository owner (user or organization) |