create_version
Create a version of an existing document for a release, with optional AI-generated modifications.
Instructions
Create a version of an existing document for a specific release, with optional AI-generated modifications
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schemaId | No | Schema manifest ID from dataset manifest, not document type. Get from context or listSchemaIdsTool | sanity.workspace.schema.default |
| releaseId | Yes | ID of the release to associate this version with | |
| documentId | Yes | ID of the document to create a version for | |
| instruction | No | Optional instruction for AI to modify the document while creating the version |