get_config
Read the panel's configuration as it is currently in force, keyed the same way the user's config file is.
Configread-onlyidempotentMCP tool
Covers the default flags every new agent inherits and the keybindings for each of the panel's screens. Anything the user left out of their file reads back as the built-in default. A configError in the response means their file would not parse, in which case the configuration returned is the defaults the panel is running on instead. The version is the build the server answering you is running, which is worth quoting in a bug report about behaviour that makes no sense.
Calling it#
curl -X POST http://127.0.0.1:8787/config.v1.ConfigService/GetConfig \
-H 'Content-Type: application/json' \
-d '{}'komrad rpc get-config{
"name": "get_config",
"arguments": {}
}Offered by the komrad MCP server to orchestrator agents.
Request#
Empty#
No fields.
Response#
GetConfigResponse#
| Field | Type | Description |
|---|---|---|
config | json | The configuration as it stands, keyed the way the user's own file is, with the connection strings redacted. |
configError | string | Why the user's file would not parse, in which case the configuration above is the defaults the panel fell back to. |
version | string | The build the server answering is running, which is what to quote in a bug report. |