document_diff
Compare two revisions of a document to see differences. Specify the document ID and the before revision; optionally include an after revision or default to latest.
Instructions
Diff two revisions. If after_revision_id is omitted, compare with latest.
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": {
"doc_id": "<doc_id>",
"before_revision_id": "<before_revision_id>"
},
"name": "document_diff"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | ||
| after_revision_id | No | ||
| before_revision_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |