Search stages
search_stagesFinds stages by code (1-7, S2-12, YW-4; full-width characters work too), by stage ID (main_01-07), or by the name or ID of their zone (第十章, Under Tides), and returns their stage IDs (for get_stage_drops; to find the stages that drop an item, use get_item_drop_rates) with their zone, sanity cost and whether they are open on the server now. Codes are not unique: the standard and tough versions of a stage of the main story share them, as do an event, its rerun and the stages it left open for good. Best matches first (the code before the zone, exact before prefix before substring), then the stages open now, standard before tough, original before permanent before rerun. ambiguous is true when several stages share the best-matching code (not for the stages of a zone found by its name): ask the user which one is meant or decide by context.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language of the names in the result: the language the user writes in, zh, en, ja or ko (en for other languages, and if omitted). | |
| limit | No | Most stages to return, 1 to 25. Default 10. | |
| query | Yes | Code or ID of the stage, or the name or ID of its zone, in any language: 1-7, S2-12, main_01-07, 第十章 or Under Tides | |
| server | No | Game server the user plays on: CN (China), US (global, English), JP (Japan) or KR (Korea). Default CN. The stages open there now rank first. | CN |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| server | Yes | Game server of openNow | |
| source | Yes | ||
| results | Yes | The stages found, best match first | |
| ambiguous | Yes | Whether several stages share the code (or ID) that matched best: the standard and tough versions of a stage, or an event, its rerun and the stage it left open; ask which one is meant, or pick by context, rather than take the first. False when the query matched a zone: its stages are listed. | |
| truncated | Yes | Whether more stages match than the limit |