get_config
Retrieve the current merged server configuration to view active context and operational mode settings.
Instructions
Get the current merged server configuration, including active context and mode.
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_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/config-tools.ts:34-42 (handler)The handler for the 'get_config' tool, which retrieves the server configuration using the provided 'getConfig' function.
{ name: "get_config", description: "Get the current merged server configuration, including active context and mode.", schema: {}, handler: async () => { return makeTextResponse(getConfig()); }, }, - src/server/server.ts:427-435 (registration)Registration of 'get_config' tool inside the GodetteMcpServer class by invoking createConfigTools.
// Config tools for (const tool of createConfigTools( () => this.config, (mode) => { this.switchMode(mode); }, )) { this.toolRegistry.register(tool); }