SpecifyDocs

documents_execute

tools/call

Open or update a shared document, or read complete commit and revision pages. Session receipts, epoch/version CAS, exact read leases and signed cursors are required by the selected operation.

Scopes

read:projects

Project documents need read:projects to read and write:projects to change. Work documents need write:work; Memory documents follow the Memory scopes.

Inputs

operation"open" | "head" | "append" | "name" | "restore" | "steps" | "revisions"Required
payloadobjectRequired
Closed document operation input, including the public document identity.

Returns

The document head, commit or revision page. A call returns content[0].text with the JSON result and structuredContent.result with the same value.

Listed when

The key has read:projects.