close_pull_request
Close a pull request without merging it in Pagure git forges. Use this tool to end pull request workflows when changes are not needed.
Instructions
Close a pull request without merging.
Args: project: Project name pr_id: Pull request ID number to close namespace: Project namespace (default: rpms)
Returns: JSON string with close result
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": {
"project": "<project>",
"pr_id": "<pr_id>"
},
"name": "close_pull_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| pr_id | Yes | ||
| namespace | No | rpms |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |