get_related_prs
Find pull requests that modified the same files as a given PR or commit to discover related work and potential merge conflicts.
Instructions
Find other pull requests that touched the same files as a given PR or commit. Useful for discovering related work and potential conflict areas.
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": {
"ref": "<ref>",
"repoSlug": "<repoSlug>"
},
"name": "get_related_prs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | PR number (e.g. "42") or commit hash (e.g. "a1b2c3d4") | |
| repoSlug | Yes | Repository slug (e.g. my-repo) |