Skip to main content

Droost: Config Get

droost_config_get Read-only

Module: Droost core

Reads any config object (secrets redacted) or lists names by prefix. The read half of config work — diff what exists before droost_config_set changes it.

Example call
{
    "tool": "droost_config_get",
    "arguments": {
        "name": "system.site"
    }
}
Example response — captured live on this site
{
    "success": true,
    "message": "Config \"system.site\" (11 top-level key(s); secrets redacted).",
    "data": {
        "name": "system.site",
        "values": {
            "_core": {
                "default_config_hash": "HlN7eAN2N4JIHsYv56V4E7sqC9bS609KwvGFjyD_mgk"
            },
            "langcode": "en",
            "uuid": "dfe882ad-ae1d-4961-b76f-33762426f67f",
            "name": "Droost",
            "mail": "admin@example.com",
            "slogan": "Boost your AI coding agent on Drupal",
            "page": {
                "403": "/user/login",
                "404": "",
                "front": "/page/1"
            },
            "admin_compact_mode": false,
            "weight_select_max": 100,
            "default_langcode": "en",
            "mail_notification": null
        }
    }
}

Reads Drupal configuration. With "name": that config object's values (sensitive keys redacted). With "prefix" or no argument: a list of config object names. Read-only.

Input schema (JSON Schema)
{
    "type": "object",
    "properties": {
        "name": {
            "type": "string",
            "description": "Exact config object name, e.g. \"system.site\" or \"views.view.frontpage\"."
        },
        "prefix": {
            "type": "string",
            "description": "List config names starting with this prefix, e.g. \"views.view.\". Ignored when \"name\" is set."
        },
        "limit": {
            "type": "integer",
            "description": "Max names to return when listing (default 100, max 1000)."
        }
    }
}