search_session_files
Search past session summaries using a natural language query to locate relevant context, returning file paths for loading.
Instructions
Semantically search only past session summaries under .context/sessions/. Use this to find prior session notes relevant to a topic, then pass their paths to load_context_files — do not rely on this tool's snippets alone.
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": {
"project_path": "<project_path>",
"query": "<query>"
},
"name": "search_session_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language search query | |
| n_results | No | ||
| project_path | Yes | Absolute filesystem path, a short 'owner/repo' identifier, or a full https:// repository URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | Individual matching hits, one per matched chunk. | |
| warning | No | Present only when the index was built with a different embedding provider/model. |