create-index
Generates a new Meilisearch index by specifying a unique identifier and optional primary key, enabling structured search functionality.
Instructions
Create a new Meilisearch index
Input Schema
Name | Required | Description | Default |
---|---|---|---|
indexUid | Yes | Unique identifier for the new index | |
primaryKey | No | Primary key for the index |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"indexUid": {
"description": "Unique identifier for the new index",
"type": "string"
},
"primaryKey": {
"description": "Primary key for the index",
"type": "string"
}
},
"required": [
"indexUid"
],
"type": "object"
}