{
  "tools": [
    {
      "name": "scaffold_project",
      "description": "Generate a WasmMvcRuntime project scaffold",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Project name"
          },
          "template": {
            "type": "string",
            "enum": ["default", "identity", "identity-server", "identity-topology", "store", "benchmark", "netcontainer", "notebay", "quantum"],
            "description": "Template id. Aliases: identity-topology = identity-kv = sovereign-identity. FREE: default (MVC), identity (PBKDF2+HMAC sessions), identity-server (OAuth/OIDC topology), identity-topology (PassKey + sovereign signing), benchmark (framework comparison), quantum (CMUI-X bilingual showcase). PREMIUM (requires license at https://cepha.dev/store): store (sbay e-commerce), netcontainer (Cepha Kit shell), notebay (markdown notes)."
          }
        },
        "required": [
          "name"
        ]
      }
    },
    {
      "name": "generate_controller",
      "description": "Generate an MVC controller with actions and views",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Controller name"
          },
          "template": {
            "type": "string",
            "description": "Action methods to include"
          }
        },
        "required": [
          "name"
        ]
      }
    },
    {
      "name": "compose_cmui_materials",
      "description": "Compose CMUI SQLite material packs for a Cepha MVC app",
      "inputSchema": {
        "type": "object",
        "properties": {
          "materials": {
            "type": "string",
            "description": "Semicolon-separated material ids, e.g. cmui-fusion;cmui-shadcn;cmui-tailwind;cmui-radix"
          },
          "database": {
            "type": "string",
            "description": "CMUI SQLite database path, e.g. wwwroot\\cmui-fusion.sqlite"
          },
          "audit": {
            "type": "boolean",
            "description": "Enable CmuiSecurityAudit"
          }
        },
        "required": [
          "materials"
        ]
      }
    },
    {
      "name": "describe_sdk_shell",
      "description": "Explain the generated SDK boot shell and MVC layout ownership contract",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "preview_playground_template",
      "description": "Explain and preview one docs playground template",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "enum": ["controller", "view", "esm", "material", "efcore", "identity", "mcp", "csproj", "process", "pwa", "maui"],
            "description": "Template id: controller, view, esm (ES module hydration), material (CMUI Fusion), efcore (EF Core + SQLite OPFS), identity (PBKDF2/HMAC sessions), mcp (Model Context Protocol resource), csproj (project file), process (CephaProcessBridge C# runner), pwa (manifest + service worker), maui (native CMUI-Mob MD3+HIG preview)"
          }
        },
        "required": [
          "name"
        ]
      }
    },
    {
      "name": "explain_error",
      "description": "Explain a WasmMvcRuntime build or runtime error",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Error code"
          },
          "template": {
            "type": "string",
            "description": "Error message"
          }
        },
        "required": [
          "name"
        ]
      }
    },
    {
      "name": "suggest_sdk_config",
      "description": "Suggest an accurate, architecture-correct csproj (SDK + PropertyGroup) for a deployment scenario so the model does not improvise wrong configuration",
      "inputSchema": {
        "type": "object",
        "properties": {
          "scenario": {
            "type": "string",
            "enum": ["spa", "pwa", "edge-worker", "maui-hybrid", "offline-first", "multi-tenant"],
            "description": "Deployment scenario"
          },
          "features_needed": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Required features, e.g. identity, identity-server, ef-core, signalr, localization, cmui"
          }
        },
        "required": [
          "scenario"
        ]
      }
    }
  ]
}
