decline_pull_request
Close a pull request without merging, marking it as declined. Provide the PR ID, with optional workspace and repository slugs.
Instructions
Decline (close without merging) a pull request.
Args: pr_id: PR ID number workspace: Workspace slug repo: Repository slug
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_id": "<pr_id>"
},
"name": "decline_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | ||
| pr_id | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |