Search the dataset by name
search_dexFind species, moves, items, abilities, or natures by partial name or Showdown ID, then use the returned canonical name for a full Pokédex lookup.
Instructions
Find species, moves, items, abilities, or natures by case-insensitive substring of name or Showdown id, sorted by National Dex number and truncated to limit. Use it when the exact name is uncertain, then call the matching lookup (get_pokemon, get_move, get_item, get_ability, get_nature) with the name it returns. Exactly one kind is searched per call; and the reply echoes kind, query, and total match count. Read-only and offline; a blank query is rejected as an error instead of dumping the dataset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Table to search; one per call (default "species"). | species |
| limit | No | Maximum results returned, 1-100 (default 20). | |
| query | Yes | Substring to match against name and Showdown id, e.g. "oger", "sword". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | The table that was searched, echoed back from the `kind` argument. | |
| count | Yes | Total number of matches the query found, before truncation to `limit` — compare against `results.length` to see whether the list was cut short. | |
| query | Yes | The query exactly as it was supplied (not lower-cased or trimmed). | |
| results | Yes | Matching entries sorted by `num` ascending and truncated to `limit`; empty when nothing matched. |