At-Risk Pull Requests
get_at_risk_prsGet open pull requests whose deploy risk score is 70 or above (High or Critical), newest first, with their opened time, size, author, and repository. Returns up to 100 PRs per page; pass page to read further. Use this to prompt engineering leads to review risky work before it merges. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_at_risk_prs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number, 100 PRs per page (default: 1) | |
| repositoryId | No | Filter to a specific repository by ID. Omit to return at-risk PRs across all repos. |