get_key_count_by_db
Retrieves the number of keys in each Redis database, returning a JSON mapping of database names to key counts.
Instructions
Get the number of keys in each Redis database (overview).
Returns: JSON mapping database names to their key count.
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": "get_key_count_by_db"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |