get-database-modules
Retrieve a list of supported database modules (capabilities) for your Redis Cloud account, based on your subscription and database settings.
Instructions
Lookup list of database modules supported in current account (support may differ based on subscription and database settings). These modules are also called capabilities.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/account/index.ts:61-67 (handler)The handler function for the 'get-database-modules' tool. It calls AccountService.getSupportedDatabaseModules() using executeApiCall and wraps the result with createToolResponse."get-database-modules": async () => { const modules = await executeApiCall( () => AccountService.getSupportedDatabaseModules(), "Get database modules", ); return createToolResponse(modules); },
- src/tools/account/index.ts:23-28 (schema)The Tool object definition for 'get-database-modules', including name, description, and empty input schema.const GET_DATABASE_MODULES: Tool = { name: "get-database-modules", description: "Lookup list of database modules supported in current account (support may differ based on subscription and database settings). These modules are also called capabilities.", inputSchema: emptySchema, };
- src/tools/account/index.ts:37-42 (registration)Local registration of the tool schema in the ACCOUNT_TOOLS array.export const ACCOUNT_TOOLS = [ GET_CURRENT_ACCOUNT_TOOL, GET_CURRENT_PAYMENT_METHODS_TOOL, GET_DATABASE_MODULES, GET_PRO_PLANS_REGIONS, ];
- src/index.ts:40-47 (registration)Global registration of tools via spread of ACCOUNT_TOOLS into ALL_TOOLS, used in ListToolsRequestHandler.const ALL_TOOLS = [ ...ACCOUNT_TOOLS, ...SUBSCRIPTIONS_PRO_TOOLS, ...SUBSCRIPTIONS_ESSENTIALS_TOOLS, ...TASKS_TOOLS, ...DATABASES_PRO_TOOLS, ...DATABASES_ESSENTIALS_TOOLS, ];
- src/index.ts:49-56 (registration)Global registration of handlers via spread of ACCOUNT_HANDLERS into ALL_HANDLERS, used in CallToolRequestHandler.const ALL_HANDLERS = { ...ACCOUNT_HANDLERS, ...SUBSCRIPTIONS_ESSENTIALS_HANDLERS, ...SUBSCRIPTIONS_PRO_HANDLERS, ...TASKS_HANDLERS, ...DATABASES_PRO_HANDLERS, ...DATABASES_ESSENTIALS_HANDLERS, };