file-list
List the directories and files of a folder in the Foundry data (read-only) — to find image, map and audio paths for scene-set, placeable-set and playlist-set. Paths are relative to the data root, e.g. "worlds/my-world/maps". Requires bridge module 8.19.0+.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "file-list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder path; default the root | |
| bucket | No | s3 only | |
| source | No | Default data (the user's files); public = Foundry's own icons and sounds | |
| extensions | No | Only these file types, e.g. ["webp","png"] or ["ogg","mp3"] |