komrad

get_config

Get the newest configuration that loaded, with defaults filled in, connection strings redacted, and the server's build version.

read-onlyidempotentMCP toolConfig

A config_error means komrad refused the newest edit to the config file and keeps the last configuration that loaded.

Calling it#

curl -X POST http://127.0.0.1:8787/komrad.config.v1.ConfigService/GetConfig \
  -H 'Content-Type: application/json' \
  -d '{}'

Request#

Empty#

No fields.

Response#

GetConfigResponse#

FieldTypeDescription
configjson

The newest configuration that loaded, keyed as in the config file, with defaults filled in and connection strings redacted.

config_errorstring

Why komrad refused the newest edit to the config file. Unset when the newest edit loaded. When set, config holds the last configuration that loaded.

versionstring

The build version of the server.