Create Document Revision Tool
create-document-revision-toolCreate a new draft revision for an existing document (for example after a version was published). If a draft already exists, returns that draft instead. File-based documents (PDF/Drive) cannot be edited as rich text via ChatGPT — use the web app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | No | Optional short summary for the draft revision. | |
| document_id | Yes | The ULID of the document. | |
| body_markdown | No | Optional Markdown body for the new draft. If omitted, copies the previous rich-text content when available. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| created | Yes | ||
| revision | Yes |