Update Document Title & Metadata
update_documentUpdate a document's title and metadata in a single call. Specify only the fields you want to change; omitted fields remain unchanged.
Instructions
Update a document's title and/or its metadata (synopsis, notes, label, status, and custom fields) in a single call. Pass only the fields you want to change; omitted fields are left untouched. To change the body text use write_document; to move it use move_document. Requires an open project and a valid document id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Label name (e.g. a POV character or chapter color label). | |
| notes | No | Document notes (the inspector Notes pane). | |
| title | No | New title for the document. Omit to leave the title unchanged. | |
| status | No | Status name (e.g. "To Do", "First Draft", "Done"). | |
| synopsis | No | Synopsis / index-card text shown in the Scrivener outliner. | |
| documentId | Yes | ||
| customMetadata | No | Map of custom metadata field names to string values. |