session_search
Searches raw session archives for exact phrases or keywords when memory search has no confident hit, returning original wording plus session title, date, and surrounding context.
Instructions
Search the raw session archive (L3) for exact phrases or keywords. Use when memory_search has no confident hit, or when you need to see the original wording. Returns session title/date plus a context window around the hit. Use it for 原话 / 逐字引用 / 「他当时怎么说的」. Do NOT use it for 方案结论 / 长期事实 — use memory_search first; and not for 时间线 / 未决状态 — use journal_recall. (选我:逐字原话/「他当时怎么说的」。要全景用 memory_recall;只查时间线用 journal_recall.)
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": {
"query": "<query>"
},
"name": "session_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max results, default 5, max 10. | |
| query | Yes | Keyword or original phrase. | |
| context | No | Messages of context around the hit, default 1, max 3. | |
| date_to | No | YYYY-MM-DD upper bound (optional); also auto-detected from query. | |
| date_from | No | YYYY-MM-DD lower bound (optional); also auto-detected from query. | |
| timeline_days | No | Also return later sessions on the same topic within N days of the hit, default 30, 0 disables. |