folder-create
Create a folder of the given document type. Foundry keeps a separate folder tree per type (Actor folders only hold Actors, etc.). parentId nests it inside another folder; omit for root level.
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": "folder-create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Folder display name | |
| sort | No | Sort order within parent. Foundry assigns one if omitted. | |
| type | Yes | Foundry document type the folder organises | |
| color | No | Hex color string (e.g. "#abcdef"). | |
| parentId | No | Parent folder ID. Omit for root. | |
| description | No | Free-form description |