memo_chat_ask
Answers conversational questions grounded in retrieved memories, using chat history and session context to shape retrieval and synthesis. Provides context-aware responses for multi-turn interactions.
Instructions
Answer a conversational question with optional history and context.
Read-only. Use instead of memo_ask when prior turns or explicit
context should shape retrieval and synthesis. history is a list of
chat messages; session_id links the answer to a tracked memo session.
With client sampling enabled, synthesis runs on the calling model (see
synthesizer field).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Number of memories to retrieve as grounding (top-k). | |
| type | No | Restrict retrieval to one memory type (e.g. 'decision', 'fact'); None searches every type. | |
| source | No | Calling layer for consult attribution (e.g. 'claude-code', 'codex'); empty falls back to client info. | |
| context | No | Extra structured context for synthesis (bounded to 256KB); merged with session_id when given. | |
| history | No | Prior chat turns as {'role', 'content'} dicts; bounded (128 items / 512KB) and used to shape retrieval. | |
| question | Yes | Natural-language question for this conversational turn. | |
| session_id | No | Tracked memo session id linking the answer to a session. | |
| snippet_chars | No | Character cap per cited snippet; None uses the default. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||