search-actor-contents
Search a character's items, spells, actions, and effects by name or description. Filter by type (spell, weapon, armor, etc.) and category (prepared, equipped) to find specific details without loading the entire actor.
Instructions
Search within a character's items, spells, actions, and effects. More token-efficient than get-actor when you need specific items. Supports text search (name/description) and type filtering. Returns matching items with full details including targeting info for spells. Use this to find specific spells, equipment, feats, or abilities without loading the entire character.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"characterIdentifier": "<characterIdentifier>"
},
"name": "search-actor-contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by item type: "spell", "weapon", "armor", "equipment", "consumable", "feat", "feature", "action", "effect", or system-specific types. Leave empty to search all types. | |
| limit | No | Maximum number of results to return (default: 20) | |
| query | No | Text to search for in item names and descriptions (case-insensitive). Leave empty to return all items of specified type. | |
| category | No | Additional category filter. For spells: "cantrip", "prepared", "innate", "focus". For items: "equipped", "carried", "invested". | |
| characterIdentifier | Yes | Character name or ID to search within |