atlas_search
Search documentation sections using BM25 full-text matching and return ranked snippets with anchors so you can locate and inspect relevant content.
Instructions
Run a BM25 full-text search across documentation sections and return ranked snippets with anchors.
Use this tool for broad or multi-section topics ('where all is armor mentioned?') or when
`atlas_where` returns no single match. Pass a returned `anchor` to `atlas_read` to inspect the full section.
Behavior & Output:
- Read-only lexical search via SQLite FTS5 (no embeddings; project synonyms come from `.atlas/aliases.yml`).
- Returns a JSON string `{query, count, hits: [{anchor, doc_id, heading, breadcrumb, path, line, snippet, score}]}`.
Returns `count: 0`, an empty `hits` list, and `hint` if nothing matches.
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": "atlas_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | Maximum number of ranked section hits to return (1-50, default 5). | |
| doc | No | Optional document ID (e.g. 'combat' or '02-combat') to restrict the search to a single document. Omit or pass null to search all documents. | |
| query | Yes | Keywords or phrase to search across all indexed documentation sections (e.g. 'cover reduction', 'turn order'). Uses lexical FTS5 matching with umlaut folding ('Hoehe' matches 'Höhe') and German compound splitting. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |