get_session_summaries
Get AI-generated summaries of chat sub-sessions to quickly survey discussed topics. Supports keyword filtering and time range. Returns text or JSON.
Instructions
Get AI-generated summaries of chat sub-sessions from the chat_session table. Use to quickly survey what topics have been discussed. Supports keyword filtering and time range. Returns text by default.
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": {
"session_id": "<session_id>"
},
"name": "get_session_summaries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session ID | |
| keywords | No | Filter summaries containing any of these keywords (case-insensitive) | |
| limit | No | Max rows to return (default 20, max 100) | |
| start_time | No | Earliest start_ts (Unix seconds) | |
| end_time | No | Latest start_ts (Unix seconds) | |
| format | No | Output format: text (default) or json | |
| timezone | No | Timezone for time display (default Asia/Shanghai) |