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.
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": {
"provider": "<provider>",
"repo": "<repo>",
"pull_request_id": "<pull_request_id>",
"event": "<event>"
},
"name": "submit_pull_request_review"
}
}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 | |||