Find documents that use a path
find-file-referencesIdentify every world document field pointing to a file or folder path, helping you assess impact before moving or replacing files. Excludes compendium content.
Instructions
Find every field of every world document that points to a file or folder path, with the same path rule world-rewrite-paths uses: a folder matches the files under it, never a longer name. Use it before moving or replacing files. Compendiums are not scanned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File or folder path, such as "worlds/<world>/tokens" | |
| maxResults | No | At most this many references, 1 to 1000, default 200 | |
| collections | No | Collections to scan: scenes, actors, items, journal, playlists, tables, cards, macros, users. Default all. |