move-asset
Move or rename a file in a Foundry VTT world's Data directory. Detects references and either blocks the move or rewrites all pointers when relink is enabled.
Instructions
Plane B (file channel, write). Move/rename a file under the Foundry Data/ root over WebDAV; missing destination parent folders are created automatically. REFERENCE-AWARE: by default REFUSES with a report if anything references the source (moving would break those pointers). Pass relink:true to move AND rewrite all references (old→new), or force:true to move without relinking. Refuses live world-DB paths. Requires MOLTEN_WEBDAV_PASSWORD.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Move even if references exist (without relinking) or the bridge is down. | |
| relink | No | After moving, rewrite all references from the old path to the new one. | |
| toPath | Yes | New Data-relative path. | |
| fromPath | Yes | Current Data-relative path. | |
| overwrite | No | Allow overwriting an existing file at the destination. |