Get Context for Topic
get_context_forGet relevant context about a topic from past sessions to guide current conversations.
Instructions
Get relevant session context for a topic.
Use at the start of a session to load prior decisions and context about a topic. Returns the most relevant session excerpts.
Args: topic: The topic to find context for (e.g., 'K-1 parser', 'rental insurance') max_results: Max excerpts to return (default 5) include_external: If True, include sessions flagged as external_tool_session. Default False. semantic: If True, use LanceDB hybrid search (Pro only). Falls back to FTS5 if index not yet built.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes | ||
| semantic | No | ||
| max_results | No | ||
| include_external | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |