telys_create_collection
Reference for the telys_create_collection MCP tool — create a named Telys memory collection, partitioned by scope, in the active memory store.
telys_create_collection creates a Telys memory collection. It is one of the 19 tools on the Telys MCP server (telys mcp), called by name over JSON-RPC 2.0 (protocol version 2025-06-18) on stdio.
The server builds a new collection in the active store ($TELYS_MEMORY_PATH, default ~/.telys/memory) and wires it to the default embedder (AlgentaMultigramEmbedder), but does not persist it to disk. The collection is built and cached only; it will not appear in telys_list_collections until a mutating tool such as telys_add or telys_upsert writes to it (the mutating tools — telys_add, telys_upsert, telys_update, telys_delete, telys_compact, telys_build_ivf, telys_build_lexical — are the ones that call save()). Creating a collection explicitly is optional — telys_add auto-creates one on first write — but it lets you fix the name and partition key up front.
Input schema
Required: name.
name
string
yes
—
Name of the collection to create.
partition_by
string
no
"scope"
Name of the metadata key used as the physical partition key.
Output schema
created
string
Name of the collection that was created.
dim
integer
Vector dimension of the collection, taken from the default embedder. With the shipped multigram kernel this is 384; the exact value is sourced from the native kernel.
partition_by
string
The partition key name the collection was created with (defaults to scope).
Example call
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "telys_create_collection",
"arguments": {
"name": "notes",
"partition_by": "scope"
}
}
}The wrapped result:
Decoding the text field:
In practice
Errors
Failures return the same envelope with isError: true and a single text block of the form <Type>: <message>. See MCP configuration & scoping and Exceptions & error codes.
See also
Tool: telys_add — populate the new collection (also auto-creates when absent).
Tool: telys_list_collections — lists saved collections (a created collection shows up only after a mutating tool persists it).
Create a collection — the SDK equivalent, with dtype, filter columns, and tuners.
Collections — what a collection is and how it persists.
Last updated
Was this helpful?