Skip to main content

Droost: Architecture

droost_architecture Read-only

Module: Droost Brain

The brain's top-down map of this codebase: module clusters, notable services, and how the pieces relate. Use it to orient on an unfamiliar site before diving into droost_module_patterns or code search. Requires `drush droost:brain:build` once.

Example call
{
    "tool": "droost_architecture",
    "arguments": {}
}
Example response — captured live on this site
{
    "success": true,
    "message": "113 modules (70 contrib, 0 custom) on Drupal 11.4.1.",
    "data": {
        "drupal_version": "11.4.1",
        "modules_by_scope": {
            "core": 43,
            "contrib": 70,
            "custom": 0
        },
        "top_capabilities": [
            {
                "capability": "ui_patterns_source",
                "provider_module": "ui_patterns",
                "kind": "plugin",
                "count_available": "1375"
            },
            {
                "capability": "ui_patterns_derivable_context",
                "provider_module": "ui_patterns",
                "kind": "plugin",
                "count_available": "1069"
            },
            {
                "capability": "config_action",
                "provider_module": "core",
                "kind": "plugin",
                "count_available": "414"
            },
            {
                "capability": "menu.local_task",
                "provider_module": "devel",
                "kind": "plugin",
                "count_available": "219"
            },
            {
                "capability": "typed_data_manager",
                "provider_module": "core",
                "kind": "plugin",
                "count_available": "122"
            },
            {
                "capability": "menu.local_task",
                "provider_module
… (truncated — run it yourself for the rest)

Project overview from the brain: Drupal version, module counts by scope, and the top capabilities the installed modules expose. Run "drush droost:brain:build" first. Read-only.

Input schema (JSON Schema)
{
    "type": "object"
}