general_api_request
Send HTTP API requests to Elasticsearch/OpenSearch for endpoints not covered by dedicated tools, with support for custom method, path, and body.
Instructions
Perform a general HTTP API request. Use this tool for any Elasticsearch/OpenSearch API that does not have a dedicated tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body | |
| path | Yes | API endpoint path | |
| method | Yes | HTTP method (GET, POST, PUT, DELETE, etc.) | |
| params | No | Query parameters | |
| cluster | No | Optional cluster name. Uses the default cluster if omitted. |