move-documents
Move Foundry VTT world documents of a single type into a target folder, creating the folder if it does not exist. Specify documents by ID or name, or leave folder empty to move to root.
Instructions
Move one or more world documents of a single type into a target folder (resolved by id or name; created at root if absent). Pass an empty targetFolder to move them to the root. GM-only.
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": {
"documentType": "<documentType>",
"identifiers": "<identifiers>"
},
"name": "move-documents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| identifiers | Yes | Exact ids (preferred) or exact names of documents to move. | |
| documentType | Yes | Type of the documents being moved. | |
| targetFolder | No | Target folder id or name (created at root if missing). Empty = root. |