Get pull request
get_prFetches pull request metadata including merge state, counts, labels, and branch SHAs for triage and review.
Instructions
Fetch pull request metadata, merge state, counts, labels, and branch SHAs.
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>",
"pull_number": "<pull_number>"
},
"name": "get_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | GitHub repository name | |
| owner | Yes | GitHub repository owner or organization | |
| pull_number | Yes | Pull request number |