CountTool
Retrieve the number of documents matching a query in an OpenSearch index. Get document counts for data analysis and monitoring.
Instructions
Returns number of documents matching a query.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "CountTool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body | |
| index | No |