list_document_revisions
Lists a document's kept revisions — title, length, date, author, writerKind — without the content (see get_document_revision). writerKind says WHO WROTE the rewrite that triggered the snapshot: human (typed by a person in the interface) or agent (the chat or an MCP client, under the identity of the person who launched it); null = a revision kept before this field existed. A revision is a snapshot taken before a rewrite (coalesced if the same author, through the same kind of writer, rewrites within 10 minutes; a change of writer, human then agent or the reverse, does create one): a document never rewritten, or rewritten only by the same author and writer within that window, may have no revision. Sorted from most recent to oldest; the list is never truncated. ⚠️ A kind: "html" document has NO history at all — the call is REFUSED by naming it, rather than returned as an empty list that would be mistaken for "never rewritten".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | Yes | Document identifier, obtained via list_documents. | |
| expectedProjectId | No | UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted. |