os_search
Search OpenSearch indexes using Query DSL for log analysis and data queries. Specify index, stand, and query body.
Instructions
Search an OpenSearch index using Query DSL. Use for log analysis and data queries.
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": {
"stand": "<stand>",
"index": "<index>",
"query_body": "<query_body>"
},
"name": "os_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Index name to search (e.g. "app-logs-*") | |
| stand | Yes | Target stand (e.g. staging) | |
| fields | No | Optional: fields to return in _source | |
| query_body | Yes | Complete OpenSearch Query DSL body (query, size, from, sort, aggs, etc.) |