copy-asset
Copies a file within the Foundry Data directory over WebDAV, automatically creating missing parent folders. Prevents copying to live world-DB destinations.
Instructions
Plane B (file channel, write). Copy a file under the Foundry Data/ root over WebDAV; missing destination parent folders are created automatically. (Copying does not affect existing references, so no reference check is needed.) Refuses live world-DB destination paths. Requires MOLTEN_WEBDAV_PASSWORD.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fromPath": "<fromPath>",
"toPath": "<toPath>"
},
"name": "copy-asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toPath | Yes | Destination Data-relative path. | |
| fromPath | Yes | Source Data-relative path. | |
| overwrite | No | Allow overwriting an existing file at the destination. |