Review pull request
create_pull_request_reviewSubmit a pull request review in Forgejo/Gitea with optional inline comments. Approve, request changes, or comment; omit event to leave it pending.
Instructions
Submit a review on a pull request, optionally with inline comments. Omit event to leave the review pending.
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": {
"owner": "<owner>",
"repo": "<repo>",
"index": "<index>"
},
"name": "create_pull_request_review"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| repo | Yes | Repository name | |
| event | No | ||
| index | Yes | Pull request number | |
| owner | Yes | Repository owner (user or organization) | |
| comments | No | ||
| commit_id | No |