Search Foundry Entities
foundry_searchSearch Foundry entities by name to retrieve UUIDs, document types, subtypes, and packages. Converts names into IDs for use with other tools, with filters to narrow results.
Instructions
Search for Foundry entities by name. Returns UUID, documentType, subType, and package. This is the primary way to turn a name into a UUID for use with other tools. Use filter to narrow results, e.g. "Actor" or "documentType:Item,subType:weapon".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results (default 50, max 500) | |
| query | Yes | Search term, e.g. 'goblin' or 'longsword' | |
| filter | No | Simple: "Actor". Compound: "documentType:Item,subType:weapon". Keys: documentType, subType, folder, package, resultType. | |
| userId | No | Override the default userId. Omit for GM-level access. | |
| clientId | No | Override the default clientId (which connected world to target) | |
| minified | No | Return slim results (uuid/id/name/img/documentType only). Default true. | |
| excludeCompendiums | No | Exclude compendium results |