revue_open
Open a browser-based git change viewer on the overview of all changed files. Use it to review code changes for a repo, commit, or branch instead of printing a diff.
Instructions
Open revue, the browser-based git change viewer, on the overview of all changed files. Use this when the user asks to see or review code changes, rather than printing a diff. Starts a revue server for the repo if needed and reuses an open revue tab when there is one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "revue_open"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| git | No | false opens the folder as a plain folder (its files only, including .git) even inside a git repo, like revue --no-git. Default true. | |
| ref | No | Commit to show in commit mode (default HEAD). | |
| base | No | Base branch in branch mode (default: main, master, origin/main, origin/master or develop, whichever exists). | |
| head | No | Branch to view in commit/branch mode without checking it out (default: the checked-out branch). | |
| mode | No | working = uncommitted changes vs HEAD (default); commit = one commit vs its parent; branch = head vs its merge-base with base, like a PR. | |
| repo | No | Any folder inside the git repo. Defaults to the current working directory. A folder outside any repo opens as a plain folder: its files only, with no changes, history or modes. | |
| newTab | No | Open a new browser tab even if a revue tab is already open. | |
| persist | No | If a server has to be started: true keeps it running after this agent session ends, false stops it with the session. Defaults to the --lifetime setting. |