Search character items
search-character-itemsSearch a character's items by name or description, optionally filter by type or category, and retrieve matching details without loading the full actor.
Instructions
Search inside one actor instead of loading all of it: items whose name or description contains the query, optionally of one item type or category, or actions and effects. Each match has id, name, type, a short plain description and the details the adapter of the game system adds (range, target, level, equipped and so on). Categories come from the adapter; without one there are none, and an unknown category is refused, never ignored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | An item type of the game system; "action" searches actions and "effect" effects instead of items | |
| limit | No | How many matches to return, 20 when left out, 200 at most | |
| query | No | Part of the name or description to look for, ignoring case; leave out to take every item | |
| category | No | A category the adapter of the game system defines, such as "prepared" or "equipped"; an unknown one is refused with the valid ones | |
| characterIdentifier | Yes | The actor to search. Id of the actor, its exact name (case does not matter) or the id of one of its tokens |