get_pull_request
Get pull request details such as mergeable status, commit count, additions, deletions, and more.
Instructions
Get PR details including mergeable status and statistics.
Returns: {number, title, state, merged, mergeable, mergeable_state, draft, head, base, commits, additions, deletions, changed_files, created_at, updated_at, merged_at, url}
mergeable_state: "clean", "dirty", "unstable", "blocked", or "unknown"
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": {
"pr_number": "<pr_number>"
},
"name": "get_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_number | Yes | ||
| owner | No | ||
| repo | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||