update_pull_review

Update an existing pull review.

Parameters

Name Type Required Description
repo string Yes Repository path. Format: teams/team_slug/repo_slug or username/repo_slug.
pull_number integer Yes The pull request number containing the review.
review_uuid string Yes UUID of the review to update.
status string No Updated review status. One of: open, approved, changes, closed.
body string No Updated review body content.

Example

curl -X POST https://ghit.example/api/v1/mcp \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "update_pull_review",
      "arguments": {
        "repo": "teams/acme/webapp",
        "pull_number": 7,
        "review_uuid": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
        "status": "changes",
        "body": "Found an edge case in the auth flow that needs fixing."
      }
    }
  }'

Response

Returns the updated pull review object with the new status and/or body. The response is returned as a text content block inside the standard MCP tool result.