es_update_document
Update an existing document in an Elasticsearch index by specifying the index, document ID, and partial fields to modify.
Instructions
Update 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>",
"id": "<id>",
"document": "<document>"
},
"name": "es_update_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document ID | |
| index | Yes | Index name | |
| document | Yes | Partial document to update |