commit_mem
Write or update a memory entry in Bilinc Cloud with optimistic concurrency and idempotent retries.
Instructions
Write a memory entry to hosted Bilinc Cloud.
Creates the entry if it is new and revises it if the key already
exists. Returns an opaque entry version you can pass to `revise` or
`forget` as `expected_version` for optimistic concurrency.
Pass `idempotency_key` when retrying: the same key with the same
payload returns the original result instead of writing twice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| ttl | No | ||
| value | Yes | ||
| source | No | ||
| metadata | No | ||
| priority | No | ||
| canonical | No | ||
| importance | No | ||
| session_id | No | ||
| memory_type | No | semantic | |
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||