mempalace_update_drawer
Update a stored drawer by replacing its content or metadata, then reindex changed information. Use force_reindex to rebuild semantic chunks even when nothing appears altered.
Instructions
Update a drawer and reindex changed content or room metadata; optional force_reindex rebuilds unchanged chunks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | No | Replacement room; omit to preserve the current filing scope. | |
| wing | No | Replacement wing; omit to preserve the current filing scope. | |
| content | No | Replacement body; omit to preserve existing content. | |
| added_by | No | Replacement creator label; omit to preserve the current value. | |
| drawer_id | Yes | Identifier of the tenant-scoped drawer to update. | |
| source_file | No | Replacement provenance label; omit to preserve the current value. | |
| force_reindex | No | Rebuild semantic chunks even when content and scope appear unchanged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | Yes | ||
| wing | Yes | ||
| success | Yes | ||
| drawer_id | Yes | ||
| updated_fields | Yes |