get_pr_info
Retrieve detailed information about a pull request or merge request, including title, description, author, and branches from GitHub or GitLab.
Instructions
Get PR/MR detailed information including title, description, author, and branches
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": {
"provider": "<provider>",
"repo": "<repo>",
"pr_id": "<pr_id>"
},
"name": "get_pr_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | Code hosting provider (github or gitlab) | |
| repo | Yes | Repository path (e.g., owner/repo or group/project) | |
| pr_id | Yes | PR/MR number | |
| host | No | GitLab host for self-hosted instances (optional, default: gitlab.com) |