GetSettings
Retrieve current database settings and configuration to understand your RushDB instance setup and parameters.
Instructions
Get the current database settings and configuration
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- tools/GetSettings.ts:17-21 (handler)Core handler function that executes the GetSettings tool logic by querying the database settings.export async function GetSettings() { const result = await db.settings.get() return result.data }
- tools.ts:458-462 (registration)Tool registration in the tools array, including name, description, and input schema (no parameters required).{ name: 'GetSettings', description: 'Get the current database settings and configuration', inputSchema: { type: 'object', properties: {}, required: [] } }
- index.ts:532-541 (registration)MCP server tool dispatcher case that invokes the GetSettings handler and formats the response.case 'GetSettings': const settings = await GetSettings() return { content: [ { type: 'text', text: JSON.stringify(settings, null, 2) } ] }
- tools.ts:461-462 (schema)Input schema for GetSettings tool: empty object, no required parameters.inputSchema: { type: 'object', properties: {}, required: [] } }
- index.ts:52-52 (registration)Import of the GetSettings handler function into the main MCP server index.import { GetSettings } from './tools/GetSettings.js'