event_replace
Replace an event, group, variable, condition, or action with a new JSON spec while keeping its original position in a Construct 2 project.
Instructions
Replace an event/group/variable (or a single condition/action) with a new spec, keeping its position. Tip: event_get, change the JSON, event_replace.
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>",
"sid": "<sid>",
"item": "<item>"
},
"name": "event_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sid | Yes | ||
| item | Yes | ||
| sheet | Yes | ||
| project | Yes | ||
| editor_sync | No |