snapshot
Capture and inspect InDesign document model snapshots before and after edits, list saved snapshots, or diff two snapshots to track changes.
Instructions
Capture or inspect Document Model snapshots. Modes: before | after | list | diff. Capture uses the current session cache (run scan_document first).
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": {
"mode": "<mode>"
},
"name": "snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | before/after capture; list metas; diff two snapshots | |
| label | No | ||
| afterId | No | ||
| beforeId | No |