New folder
create_folderCreates a folder (free name) in the game, to GROUP several entities (Enemies, Items) or, in Ambience and Interface, sounds by place or screen. Never a folder for a single thing like the player: that is an entity (create_entity). inside a tab (section) or inside another folder (parent_id), optionally already holding entities. Every tab takes subfolders: ambience by place (Forest, Cave), interface by screen (Menus, HUD) and effects by kind of thing (Units, Weapons). A small game keeps ambience and interface events straight in the tab, without subfolders.
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": {
"game_id": "<game_id>",
"name": "<name>"
},
"name": "create_folder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| game_id | Yes | ||
| section | No | The tab the folder goes in, at its root: ambience, effects (Sound effects), interface or music. Ignored with parent_id. Without both: effects. | |
| parent_id | No | Parent folder (a subfolder of any tab). Without it, the folder goes at the root of section. | |
| entity_ids | No |