add_document
Enables insertion of a new document into a specified Elasticsearch index, allowing optional custom ID or auto-generation.
Instructions
Add a new document to a specific Elasticsearch index
Input Schema
Name | Required | Description | Default |
---|---|---|---|
document | Yes | Document body to index | |
id | No | Optional document ID (if not provided, Elasticsearch will generate one) | |
index | Yes | Name of the Elasticsearch index |