Find sessions
anam_session_searchFind calls by date, persona and what was said. Without text, returns a compact list of sessions, newest first. With text, also reads the transcripts of up to 25 of the newest matching sessions and returns those that mention it, with snippets; narrow the date range to search further back. With sessionId, reads that session’s whole transcript instead, 50 messages at a time (limit, up to 100): pass the returned nextOffset as offset until it is null.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "anam_session_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Sessions created before this date or date-time. | |
| from | No | Sessions created at or after this ISO 8601 date or date-time, such as 2026-11-01. | |
| text | No | Words to look for in transcripts (not case sensitive). | |
| limit | No | The most sessions to list (default 20), or to scan with `text` (at most 25); with `sessionId`, the most messages (default 50). | |
| offset | No | With `sessionId`: the previous page’s `nextOffset`. | |
| personaId | No | ||
| sessionId | No | A session `id` whose transcript to read. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| total | No | ||
| scanned | No | ||
| messages | No | ||
| sessions | No | ||
| nextOffset | No | ||
| totalInRange | No | ||
| resultTrimmed | No | ||
| totalMessages | No | ||
| transcriptsEnabled | No |