Diff Page
diff_pageCompare two versions or snapshots of a page and return a unified diff to show what changed.
Instructions
Show what changed in a page between two points as a unified diff: 'current', a version from list_page_history, or a snapshot from list_snapshots. By default from_version is compared with the current body.
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": {
"page": "<page>",
"from_version": "<from_version>"
},
"name": "diff_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page id, slug id or Docmost page URL. | |
| to_version | No | 'current', a version id from list_page_history, or a snapshot id from list_snapshots. | current |
| from_version | Yes | 'current', a version id from list_page_history, or a snapshot id from list_snapshots. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||