sanity_create
Create a new document in Sanity CMS by providing the document type and data. Optionally specify a custom ID; otherwise Sanity generates one.
Instructions
Create a new document in Sanity CMS. Requires write token.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _type | Yes | The document type (e.g., "post", "author") | |
| _id | No | Optional: Custom document ID. If not provided, Sanity generates one. | |
| document | Yes | The document data (all fields except _type and _id) |