Fire an entity input
ent_fireSends map I/O inputs to server entities to open doors, toggle locks, or kill, with optional delay; verify results with ent_info or wait_for since effects occur on later frames.
Instructions
Sends a map I/O input to an entity in the server realm (Entity:Fire(input, param, delay)), e.g. Open, Close, Toggle, Lock on a door, or Kill. Returns at once ({fired, id, param, delay}): the effect happens on a later frame (after delay seconds), so check it with ent_info or wait_for. An input the entity does not know is ignored silently: no error, and nothing in the console (checked live), so always check the effect. Example: {"id": 57, "input": "Open"}. Needs a loaded map (map_load): the server and client realms do not exist at the main menu.
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": {
"id": "<id>",
"input": "<input>"
},
"name": "ent_fire"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Entity index. | |
| delay | No | Delay in seconds (default 0). | |
| input | Yes | Input name, e.g. Open. | |
| param | No | Input parameter (default empty). | |
| instance | No | Optional. Instance identifier (see instances_list). If present and different from the local instance, the call is relayed by the coordinator to that instance. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| next | No | ||
| note | No | ||
| delay | No | ||
| fired | Yes | ||
| param | No | ||
| warning | No | ||
| next_call | No | ||
| answered_by | No | ||
| truncated_note | No | ||
| version_warning | No |