Typesense MCP Server

by avarant
Verified

create_collection

Creates a new collection in Typesense databases by defining a schema with required fields and name, enabling structured data storage and search functionality.

Instructions

Creates a new collection with the provided schema. Args: ctx (Context): The MCP context. schema (dict): The collection schema dictionary (must include 'name' and 'fields'). Returns: dict | str: The created collection schema dictionary or an error message string.

Input Schema

NameRequiredDescriptionDefault
schemaYes

Input Schema (JSON Schema)

{ "properties": { "schema": { "additionalProperties": true, "title": "Schema", "type": "object" } }, "required": [ "schema" ], "title": "create_collectionArguments", "type": "object" }

You must be authenticated.

Other Tools from Typesense MCP Server

Related Tools

ID: hgixq30f32