palim_save_session
Saves or appends a full chat transcript with its summary. Not for personal data of children under 16 (or a higher local consent age), HIPAA PHI, PCI payment card data or adult content. Appending with the same session_id adds the new messages to the existing session.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"title": "<title>",
"messages": "<messages>"
},
"name": "palim_save_session"
}
}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. |