hana_show_env_vars
Display HANA Cloud environment variables for debugging database connections and configurations in Cursor IDE.
Instructions
Show all HANA-related environment variables (for debugging)
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/config-tools.js:57-64 (handler)The main handler function for the 'hana_show_env_vars' tool. It logs the tool invocation, retrieves HANA-related environment variables using config.getEnvironmentVars(), formats them with Formatters.formatEnvironmentVars(), and returns a formatted response.static async showEnvVars(args) { logger.tool('hana_show_env_vars'); const envVars = config.getEnvironmentVars(); const formattedEnvVars = Formatters.formatEnvironmentVars(envVars); return Formatters.createResponse(formattedEnvVars); }
- The tool definition including name, description, and input schema (empty object with no required properties) for 'hana_show_env_vars'.{ name: "hana_show_env_vars", description: "Show all HANA-related environment variables (for debugging)", inputSchema: { type: "object", properties: {}, required: [] } },
- src/tools/index.js:14-24 (registration)Registration of the tool handler in the TOOL_IMPLEMENTATIONS mapping, linking 'hana_show_env_vars' to ConfigTools.showEnvVars for execution via ToolRegistry.executeTool.const TOOL_IMPLEMENTATIONS = { hana_show_config: ConfigTools.showConfig, hana_test_connection: ConfigTools.testConnection, hana_show_env_vars: ConfigTools.showEnvVars, hana_list_schemas: SchemaTools.listSchemas, hana_list_tables: TableTools.listTables, hana_describe_table: TableTools.describeTable, hana_list_indexes: IndexTools.listIndexes, hana_describe_index: IndexTools.describeIndex, hana_execute_query: QueryTools.executeQuery };
- src/constants/tool-definitions.js:142-142 (registration)The tool is listed in the CONFIGURATION category within TOOL_CATEGORIES.CONFIGURATION: ['hana_show_config', 'hana_test_connection', 'hana_show_env_vars'],