es_update_doc
Partially update an Elasticsearch document by ID, merging specified fields into the existing document.
Instructions
Partially update a document by id. Blocked when that connection's own readOnly mode is enabled.
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>",
"doc": "<doc>"
},
"name": "es_update_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| doc | Yes | Partial document fields to merge into the existing document. | |
| index | Yes | Index name. | |
| connectionId | No | Id of the elasticsearch connection to use, from databases.config.yml. Optional when only one elasticsearch connection is configured. |