upload-asset
Upload an asset from your local file to the Foundry data area via WebDAV and receive a public HTTPS URL. Automatically creates missing folders. For maps, tokens, audio, or handout images only.
Instructions
Plane B (file channel, write). Upload an ASSET (map/token/audio/handout image) from a local file to the Foundry data area over WebDAV and return its public HTTPS URL, so large media bypass the bridge entirely. Missing parent folders are created automatically. ASSETS ONLY — never world-DB files (LevelDB writes while the server runs corrupt it; such paths are refused). PRIVACY: anything under Data/ is served publicly with no auth — do not upload anything sensitive. Requires MOLTEN_WEBDAV_PASSWORD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| localPath | Yes | Absolute path to the local file to upload. | |
| overwrite | No | Allow overwriting an existing file at remotePath. | |
| remotePath | Yes | Destination path RELATIVE TO the Foundry `Data/` root, e.g. "worlds/your-world/assets/maps/cavern.webp". Must be an asset location, never inside a world's `data/` (LevelDB) directory. |