general_api_request
Execute custom HTTP API requests to Elasticsearch/OpenSearch clusters for operations without dedicated tools, using specified methods, endpoints, parameters, and body data.
Instructions
Perform a general HTTP API request. Use this tool for any Elasticsearch/OpenSearch API that does not have a dedicated tool.
Args:
method: HTTP method (GET, POST, PUT, DELETE, etc.)
path: API endpoint path
params: Query parameters
body: Request body
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | ||
| path | Yes | ||
| params | No | ||
| body | No |