ace_add
Adds a condition or action to an existing event in a Construct 2 project, so AI agents can build event logic without manual event-sheet editing.
Instructions
Add one condition (kind="condition") or action (kind="action") to an existing event.
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": {
"project": "<project>",
"sheet": "<sheet>",
"event_sid": "<event_sid>",
"kind": "<kind>",
"ace": "<ace>"
},
"name": "ace_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ace | Yes | ||
| kind | Yes | ||
| index | No | ||
| sheet | Yes | ||
| project | Yes | ||
| event_sid | Yes | ||
| editor_sync | No |