get_indexed_keys_number
Retrieve the number of indexed keys in a specified RediSearch index to assess search coverage.
Instructions
Retrieve the number of indexed keys by the index
Args: index_name (str): The name of the index to retrieve information about.
Returns: str: Number of indexed keys as a string
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": {
"index_name": "<index_name>"
},
"name": "get_indexed_keys_number"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |