delete_document
Deletes a document from an Elasticsearch index by document ID. Supply the index name and doc_id to remove the document.
Instructions
Delete a document from Elasticsearch index by document ID
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>",
"doc_id": "<doc_id>"
},
"name": "delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Name of the Elasticsearch index containing the document | |
| doc_id | Yes | Document ID to delete from the index |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |