create_entity
Creates a single Albato Builder resource, such as an action, trigger, or enum, validating the body against its contract schema first. Use dryRun to validate without creating anything.
Instructions
Create an entity. The body is validated against the contract schema before sending. One entity, one call; from three creations in a row (list items, fields, mappings) use create_entities, which also creates a parent and its children at once. To make a copy of a similar one, copy_entity is cheaper. The schema of a specific resource is available via describe_resource.
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": "create_entity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Request body according to the resource schema | |
| appId | No | App ID. Not needed only for resource: "apps" | |
| dryRun | No | Only validate and return the body, without creating anything | |
| resource | Yes | Builder resource the operation is performed on | |
| confirmed | No | The user agreed to what the refusal without confirmed warned about | |
| 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 | |
| workspaceId | No | Only for resource: "apps" in an account with several workspaces (list_apps shows them): where to create the app. Defaults to the home one |