Start a local review session
start_sessionStart a MergeSafe review session for local changes, before or without a pull request; nothing is posted to GitHub. FIRST ask the user for a cost limit for the session in US dollars and pass it as limit_usd: reviews stop when it is reached until the user approves more. Returns the session_id and how reviews are priced (level rate x review size).
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>",
"limit_usd": "<limit_usd>"
},
"name": "start_session"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | The branch the change is against. | |
| repo | Yes | The repository as "owner/name". | |
| branch | No | The local branch, if any. | |
| limit_usd | Yes | The cost limit the user chose, in US dollars. |