update_conversation
Update any fields of a stored conversation in place by ID, with tag management and optional audit logging to preserve imported content.
Instructions
Update fields on an existing conversation in place.
Pass conversation_id plus any subset of fields to change. The first
line of the stored content is rewritten with a self-documenting audit
line: [update <iso-timestamp> — <change_note>]. If change_note is
omitted, it's auto-derived from which fields changed.
Tag ops: set_tags replaces the full list; add_tags and
remove_tags mutate it. set_tags is mutually exclusive with the
other two; pass set_tags=[] to clear all tags.
Metadata fields (tags, conversation_type, session_id, user_id) are validated/sanitized before storage since this data may originate from external imports.
record_audit=False preserves authoritative imported content verbatim.
Normal interactive updates should retain the default audit record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| content | No | ||
| user_id | No | ||
| add_tags | No | ||
| set_tags | No | ||
| session_id | No | ||
| change_note | No | ||
| remove_tags | No | ||
| record_audit | No | ||
| conversation_id | Yes | ||
| conversation_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |