update_entity
Modifies a single builder entity via PATCH by sending only changed fields, ideal for targeted edits; use batch updates instead when changing three or more entities in a row.
Instructions
Modify an entity (PATCH). Send only the fields that change. A targeted edit of one entity goes here; from three edits in a row use update_entities: one call instead of N, all are checked before writing, rollback by applyId. A nested array present in the body is overwritten entirely: an item without id is created anew, and one missing from the array is deleted. A relation absent from the body is not touched at all, so to change one thing deep inside, send only the path of ids down to it: {requests: [{id, response: {id, cfsMappings: [...]}}]} changes the response mappings and touches neither request fields nor response fields. Before editing, read the current state: get_entity with expand. An edit after which the backend itself deletes neighbouring entities (a wizard step's lists: all following steps) won't go through without confirmed: true.
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": {
"resource": "<resource>",
"body": "<body>"
},
"name": "update_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Entity ID | |
| body | Yes | ||
| appId | No | App ID. Not needed only for resource: "apps" | |
| dryRun | No | ||
| resource | Yes | Builder resource the operation is performed on | |
| confirmed | No | The user agreed to what the edit will delete (the tool lists it in the refusal without confirmed) | |
| parentIds | No | Parent IDs: {actionId}, {cfsId}, {enumId}, {wizardId}, {creatorId} | |
| versionId | No | Version ID. Not needed for resource: "apps" and "versions". Only a private version is writable; ensure_editable_version tells you which one |