submit_pull_request_review
Submit a pull request review to approve, request changes, or comment, returning a normalized result or error.
Instructions
Submit an approve, request-changes, or comment review.
Args:
provider: Provider key.
repo: Repository identity.
pull_request_id: Provider pull-request identifier.
event: approve, request_changes, or comment.
body: Optional review body.
raw: Include the provider payload.
Returns: Normalized write-result mapping, or a structured error mapping.
Examples:
Input: {"repo": "o/r", "pull_request_id": "7", "event": "approve"}.
Output: {"id": "7", "state": "approved", ...} or an error shape.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | ||
| body | No | ||
| repo | Yes | ||
| event | Yes | ||
| provider | Yes | ||
| pull_request_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||