close_pull_request
Close or decline a pull request on GitHub or Bitbucket Cloud, returning the updated state.
Instructions
Close or decline a pull request.
Args: provider: Provider key. repo: Repository identity. pull_request_id: Provider pull-request identifier. raw: Include the provider payload.
Returns: Normalized write-result mapping with the resulting state.
Examples:
Input: {"repo": "o/r", "pull_request_id": "7"}.
Output: {"id": "7", "state": "closed", ...}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| repo | Yes | ||
| provider | Yes | ||
| pull_request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||