document_snapshot
Create an opaque, owner-bound snapshot of a document after verifying its exact revision.
Instructions
Creates an opaque, owner-bound snapshot of a document after verifying its exact revision.
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": {
"expectedRevision": "<expectedRevision>",
"path": "<path>",
"workspaceId": "<workspaceId>"
},
"name": "document_snapshot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| ttlMs | No | ||
| workspaceId | Yes | ||
| expectedRevision | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision | Yes | ||
| snapshotId | Yes |