es_index_document
Index a document into a specified Elasticsearch index, with an optional document ID or auto-generated if omitted.
Instructions
Index a document
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"index": "<index>",
"document": "<document>"
},
"name": "es_index_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Document ID (optional, will be auto-generated if not provided) | |
| index | Yes | Index name | |
| document | Yes | Document content |