Create Entity Records
create_entity_recordsCreate/insert records in one app entity. Executes directly for the authenticated app owner and returns the created record ids.
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": {
"app_id": "<app_id>",
"entity": "<entity>",
"records": "<records>"
},
"name": "create_entity_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app ID | |
| entity | Yes | Entity name | |
| reason | No | Why these records should be created | |
| records | Yes | Records to create | |
| expected_count | No | Optional safety check; the write aborts if the record count differs |