telys_create_collection
Create a named memory collection in the active store, defining its partition key (default 'scope') up front. Predefine metadata before first write; repeats return existing collection.
Instructions
Create a named Telys memory collection in the active store, wired to the built-in embedder. Optional — telys_add auto-creates on first write — but use it to fix the name and partition key up front. Required: name. Optional: partition_by (default 'scope'; a single metadata key name — compose compound keys into one string yourself). The new collection is built but NOT persisted, so telys_list_collections shows it only after a mutating tool (telys_add, telys_upsert, …) writes to it. Repeating with the same name returns the existing collection unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| partition_by | No | scope |