Search items
search_itemsFinds items (materials, battle records, chips, furniture, event items) by name in any language (zh, en, ja, ko), by alias or nickname (土块, 狗粮), by pinyin (guyuanyan) or by item ID, and returns their item IDs (get_item_drop_rates takes a name too; search first when unsure which item is meant) and names in every language. Best matches first: exact before prefix before substring, names before aliases. Several items can share an alias (石头 is each tier of Orirock): ambiguous is then true; ask the user which one is meant or decide by context. Items of other types (workshop-crafted materials such as D32 Steel, recruitment tags) are returned only when no listed item matches, with a note saying what they are.
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 items to return, 1 to 25. Default 10. | |
| query | Yes | Name, alias, pinyin or ID of the item, in any language: 固源岩, Orirock Cube, 石头, guyuanyan or 30012 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Set when no item of a listed type matched and the results are items of other types: what those are | |
| query | Yes | ||
| source | Yes | ||
| results | Yes | The items found, best match first | |
| ambiguous | Yes | Whether several items match as well as the first (an alias of several items, such as 石头 for the four tiers of Orirock): ask which one is meant, or pick by context, rather than take the first | |
| truncated | Yes | Whether more items match than the limit |