muninn_table_record_add
Add a record to a table. values is keyed by field key (see muninn_table_list). Pass parentRecordId to file this as an entry in the nested table under an existing record — that is how a running log lives under a standing profile. Nesting is capped at one level: a record may hold a nested table, a nested record may not. Returns {recordId} — the record's memory id, which muninn_memory_get and muninn_memory_update accept.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Optional tags. Filing into a table is NOT a tag — it is structural — so no table tag is added for you. | |
| values | Yes | Field values keyed by field key, e.g. {"role":"Engineer","status":"active"}. Unknown keys are rejected. | |
| project | No | Project slug to scope this record. | |
| tableSlug | Yes | Which table to file this record into. Must already be declared. | |
| occurredAt | No | ISO 8601 datetime of when this actually happened, if not now. Useful for backfilling log entries. | |
| parentRecordId | No | Memory id of the parent record. Set this to add an entry to that record's nested table (a log entry under a profile). |