review_pull_request
Submit a review decision on a pull request. Requires at least Editor role. event options: ‘comment’ (neutral feedback), ‘approve’ (signal ready to merge), ‘request_changes’ (block merge until addressed). Returns: project (str); pull_request_id (int); event (str); message (str).
Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
project_name | str | Yes | — | |
pull_request_id | int | Yes | — | |
event | str | Yes | — | |
body | str | No | '' |
Returns
Section titled “Returns”Returns a structured object. Top-level fields:
project(string)pull_request_id(integer)event(string)message(string)
See the response example below for the full payload shape.
Example
Section titled “Example”Tool Call
Section titled “Tool Call”{ "name": "review_pull_request", "arguments": { "project_name": "forecasts", "pull_request_id": 42, "event": "approve", "body": "Numbers look right. LGTM." }}Response
Section titled “Response”{ "project": "forecasts", "pull_request_id": 42, "event": "approve", "message": "Review submitted."}- Module:
Pull Requests - Requires authentication via API token or Auth0 JWT.