Create entity
create_entityCreates an entity in a game: a THING that exists in the game and makes noise (unit, enemy, building, object, block, character, button or screen). NEVER an action or moment: 'Undo', 'Snap', 'Level complete', 'Jump' are EVENTS of something (of Interface, of Blocks, of the Character), not entities. Inside a folder, it inherits the folder's events. On the site it is a folder with its image and name, holding its own sounds, so to the user say 'the Player's sounds' or 'the Player folder', not 'entity'.
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_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The thing's name shown on the site, in the game's language (e.g. Player, Slime, Wooden door). Up to 80 characters. | |
| game_id | Yes | The game id, from list_games or create_game. | |
| folder_id | No | Folder (see list_folders). Without it, the entity goes into Sound effects. | |
| description | No | How it sounds; goes into the prompts. | |
| external_id | No | The engine scene of this thing (e.g. res://player/player.tscn). With it, the plugin sync merges into this entity instead of creating another: create entities before the sync without fear of duplicates. |