getRevisionDiffs
Compute unified diffs for up to 20 revision pairs in GROWI, handling authorization and structural validation per pair without failing the whole batch.
Instructions
Compute unified diffs for a batch of revision pairs (up to 20) in GROWI. Authorization is checked independently per pair: inaccessible pairs return status "forbidden" and structurally invalid pairs return status "invalid" without failing the whole batch
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": {
"pairs": "<pairs>"
},
"name": "getRevisionDiffs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pairs | Yes | Revision pairs to compute diffs for (up to 20 pairs) | |
| appName | No | GROWI app name to operate on (optional, uses default if not specified) | |
| contextLines | No | Number of context lines in the unified diff output (0-20, default 3, optional) |