search_units
Find Warhammer 40K units or Kill Team operatives by name, faction, keywords, or ability text. Filter by edition, faction, or points to locate matching rules and stats quickly.
Instructions
Search Warhammer 40K units or Kill Team operatives by name, faction, keywords, or ability text. Returns a compact list of matching results (max 10).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query — matches against name, faction, keywords, and ability names/text | |
| ability | No | Optional filter for units/operatives that have an ability whose name or rules text matches this (e.g. 'devastating wounds', 'stealth', 'deep strike'). Kill Team results also match unique actions. | |
| faction | No | Optional faction filter to narrow results (e.g. 'Necrons', 'Aeldari'). Also matches keywords, so sub-forces folded into a parent faction's data (e.g. 'Kroot', which BSData files under 'T'au Empire' rather than as its own faction) are still found. | |
| game_mode | No | Game mode/edition: defaults to '40k_11e'. Pass '40k_10e' for 10th Edition units, '40k'/'40k_11e' for 11th Edition (current default), or 'kill_team' for Kill Team operatives. | |
| max_points | No | Optional max points filter — only return units costing this many points or fewer (40K only) |