decline_pull_request
Reject an open pull request by providing the repository slug and pull request ID, with an optional message. Block unwanted merges before they are completed.
Instructions
Decline (reject) an open pull request
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": {
"repo_slug": "<repo_slug>",
"pr_id": "<pr_id>"
},
"name": "decline_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pr_id | Yes | Pull request ID | |
| message | No | Optional message | |
| repo_slug | Yes | Repository slug |