Search the SGU archive (local index)
search_episodesSearch episode transcripts instantly using BM25-ranked full-text search. Returns highlighted snippets with episode metadata, with optional field restriction.
Instructions
Fast, bm25-ranked full-text search over the LOCAL archive of episode transcripts (the indexed .md corpus). Prefer this over search_transcripts for general questions — it's instant, offline, and ranked, and it returns highlighted snippets with episode metadata. Optionally restrict to a field: 'transcript' (default scope is all), 'news' (news-item titles), or 'title'. Falls back with a note if the index hasn't been built yet (run npm run setup or npm run fetch && npm run index).
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": "search_episodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query. Supports MediaWiki/SQLite FTS syntax: phrases in quotes, AND/OR, prefix* | |
| limit | No | Max results (default 10) | |
| field | No | Restrict search to one field |