Review a pushed branch
review_branchReview a branch already pushed to GitHub, with no upload: MergeSafe reads the branch's changes from GitHub itself. Returns review_id with status 'fetching' (queued). Poll get_session_findings until this review is 'quoted', then show the user its price as for review_local and ask them to confirm before confirm_review. A branch MergeSafe cannot read is refused with a note, and nothing is charged for it.
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": {
"repo": "<repo>",
"session_id": "<session_id>",
"base": "<base>",
"head": "<head>"
},
"name": "review_branch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | The branch the change is against. | |
| head | Yes | The pushed branch to review. | |
| repo | Yes | The session's repository, "owner/name". | |
| session_id | Yes | The session_id start_session returned. |