hermes_update_document
Update metadata for published Hermes documents, including status, title, summary, owners, contributors, approvers, and custom fields. Use for published docs; drafts require a separate draft-update tool.
Instructions
Update a published document's metadata in Hermes. Supports changing status (In-Review, Approved, Obsolete), title, summary, owners, contributors, approvers, approver groups, and custom fields. For drafts (WIP), use hermes_update_draft instead. Valid statuses: 'In-Review', 'Approved', 'Obsolete'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | New document title | |
| owners | No | Updated list of owner email addresses (replaces existing) | |
| status | No | New document status. 'In-Review' — document is under active review by approvers. 'Approved' — document has been approved. 'Obsolete' — document is no longer current. | |
| summary | No | New summary or abstract | |
| approvers | No | Updated list of approver email addresses (replaces existing) | |
| document_id | Yes | SharePoint objectID of the published document to update (from hermes_search or hermes_get_document) | |
| contributors | No | Updated list of contributor email addresses (replaces existing) | |
| custom_fields | No | Custom fields specific to the document type. IMPORTANT: 'name' must be the camelCase key (e.g. 'currentVersion'), 'type' must be uppercase (e.g. 'STRING', 'PEOPLE'), and 'display_name' must match the displayName from the API exactly. Call hermes_get_document on an existing doc or hermes_list_document_types to discover valid keys and types. | |
| approver_groups | No | Updated list of approver group names (replaces existing) |