create-folder
Create folders for world document types like Actors or Items, optionally under an existing folder of the same type. Organize generated content in Foundry VTT.
Instructions
Create a sidebar Folder for any world document type, optionally nested under a parent folder of the same type. Use to organize generated content. 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": {
"name": "<name>",
"type": "<type>"
},
"name": "create-folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Folder name. | |
| type | Yes | Document type this folder holds (Actor, Item, JournalEntry, …). | |
| color | No | Optional hex color, e.g. "#4a90e2". | |
| parentFolder | No | Optional parent folder id or exact name (must be the same type). |