palim_save_session
Save or append a full chat transcript (messages + summary). Prefer palim_save_context for compact handoffs. For metadata-only or URL updates use palim_update_session_metadata / palim_update_session_references. When appending: reuse session_id + title, fetch existing messages first, send only new ones. Always pass a complete summary and metadata.tool_source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | Session title. Reuse across saves; else the exact chat title from the client UI. | |
| summary | No | Full-conversation summary. Required arrays may be empty. | |
| messages | Yes | Messages to save (role + content). When appending, only unsaved messages. | |
| metadata | No | Session metadata. tool_source is required. | |
| overwrite | No | Replace all existing messages instead of appending. Default: false. | |
| created_at | No | Optional ISO 8601 creation date from the AI client (new sessions only). | |
| session_id | No | Session id. Reuse across saves in this chat; else from chat URL or a new UUID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | Human-readable tool result text. |