Add item
data_add_itemAdd data items to a collection with custom fields and optional grouping, ensuring reliable creation using idempotency keys.
Instructions
Add an item to a collection. group is the app-defined lane/section (e.g. a kanban column); fields is a JSON object (e.g. {title, done, notes…}).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor | No | ||
| group | No | ||
| fields | Yes | ||
| position | No | ||
| collection | Yes | ||
| command_id | Yes | idempotency key — generate a fresh uuid per action |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| ok | Yes | ||
| eot | No | ||
| seq | No | ||
| item | No | ||
| note | No | ||
| reason | No | ||
| deleted | No | ||
| collection | No | ||
| violations | No | ||
| expected_version | No | ||
| prev_collection_seq | No |