Set Document Property
set_doc_propertyUpdate a document's custom property value by property ID or name, with type-aware validation for text, number, checkbox, and date fields.
Instructions
Set a document's custom property value (property by id or name). Value is validated against the property type (text/number/checkbox/date).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | ||
| value | Yes | Value; coerced per property type (checkbox->bool, number, date YYYY-MM-DD, text) | |
| property | Yes | Property id or name | |
| workspaceId | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| code | No | ||
| name | No | ||
| type | No | ||
| docId | No | ||
| error | No | ||
| value | No | ||
| stored | No | ||
| details | No | ||
| updated | No | ||
| causeCode | No | ||
| retryable | No | ||
| propertyId | No | ||
| workspaceId | No | ||
| recoveryGuidance | No |