get-document
Retrieve specific documents by ID from a Meilisearch index, specifying fields to return for efficient data access and management through the Meilisearch MCP Server.
Instructions
Get a document by its ID from a Meilisearch index
Input Schema
Name | Required | Description | Default |
---|---|---|---|
documentId | Yes | ID of the document to retrieve | |
fields | No | Fields to return in the document | |
indexUid | Yes | Unique identifier of the index |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"documentId": {
"description": "ID of the document to retrieve",
"type": "string"
},
"fields": {
"description": "Fields to return in the document",
"items": {
"type": "string"
},
"type": "array"
},
"indexUid": {
"description": "Unique identifier of the index",
"type": "string"
}
},
"required": [
"indexUid",
"documentId"
],
"type": "object"
}