{
  "cda": {
    "description": "Content Delivery API — delivery token bootstrap (content types) plus configured environment, branch, and locale.",
    "bootstrap": {
      "api": "cda",
      "requires": ["deliveryToken"],
      "endpoints": ["GET /v3/content_types"]
    },
    "propertyRules": {
      "content_type_uid": {
        "source": "stack.contentTypes",
        "valueField": "uid",
        "labelField": "title",
        "inject": ["enum", "description"]
      },
      "branch": {
        "source": "stack.branch",
        "inject": ["default", "description"]
      },
      "environment": {
        "source": "stack.environment",
        "inject": ["description", "default"]
      },
      "locale": {
        "source": "stack.locale",
        "inject": ["description", "default"]
      }
    },
    "entryToolDescription": {
      "segments": [
        { "source": "stack.contentTypes", "style": "list" },
        { "source": "stack.environment", "style": "value" },
        { "source": "stack.branch", "style": "value" }
      ]
    }
  },
  "cma": {
    "description": "Content Management API — management token or OAuth bootstrap (content types, environments, locales, branches) plus configured env defaults.",
    "bootstrap": {
      "api": "cma",
      "requires": ["managementTokenOrOAuth"],
      "endpoints": [
        "GET /v3/content_types",
        "GET /v3/environments",
        "GET /v3/locales",
        "GET /v3/stacks/branches"
      ]
    },
    "requiredBootstrap": "cma",
    "propertyRules": {
      "content_type_uid": {
        "source": "stack.contentTypes",
        "valueField": "uid",
        "labelField": "title",
        "inject": ["enum", "description"]
      },
      "branch": {
        "source": "stack.branch",
        "inject": ["default", "description"]
      },
      "branch_uid": {
        "source": "stack.branches",
        "valueField": "uid",
        "labelField": "uid",
        "inject": ["enum", "description"]
      },
      "environment": {
        "source": "stack.environments",
        "valueField": "name",
        "labelField": "name",
        "inject": ["enum", "description"]
      },
      "environment_name": {
        "source": "stack.environments",
        "valueField": "name",
        "labelField": "name",
        "inject": ["enum", "description"]
      },
      "environment_uids": {
        "source": "stack.environments",
        "valueField": "uid",
        "labelField": "name",
        "inject": ["description"]
      },
      "locale": {
        "source": "stack.locales",
        "valueField": "code",
        "labelField": "name",
        "inject": ["enum", "description", "default"]
      },
      "locales": {
        "source": "stack.locales",
        "valueField": "code",
        "labelField": "name",
        "inject": ["description"]
      }
    },
    "entryToolDescription": {
      "segments": [
        { "source": "stack.contentTypes", "style": "list" },
        { "source": "stack.environments", "style": "list" },
        { "source": "stack.locales", "style": "list" },
        { "source": "stack.branch", "style": "value" }
      ]
    }
  },
  "launch": {
    "description": "Launch manage API — OAuth bootstrap for project environments (REST, not GraphQL).",
    "bootstrap": {
      "api": "launch",
      "requires": ["oauth", "launchProjectId", "organizationUid"],
      "endpoints": ["GET /projects/{project_uid}/environments"]
    },
    "requiredBootstrap": "launch",
    "propertyRules": {
      "project_uid": {
        "source": "launch.project",
        "inject": ["default", "description"]
      },
      "environment_uid": {
        "source": "launch.environments",
        "valueField": "uid",
        "labelField": "name",
        "inject": ["enum", "description"]
      }
    },
    "entryToolDescription": {
      "segments": [
        { "source": "launch.environments", "style": "list" },
        { "source": "launch.project", "style": "value" }
      ]
    }
  },
  "brandkit": {
    "description": "Brand Kit — OAuth bootstrap for voice profiles (brand-kits-api) and Knowledge Vault contents (AI host).",
    "bootstrap": {
      "api": "brandkit",
      "requires": ["oauth", "brandKitUID"],
      "endpoints": [
        "GET /v1/brand-kits/{brand_kit_uid}/voice-profiles",
        "GET /brand-kits/v1/knowledge-vault/get-context"
      ]
    },
    "requiredBootstrap": "brandkit",
    "propertyRules": {
      "profile_id": {
        "source": "brandkit.voiceProfiles",
        "valueField": "uid",
        "labelField": "name",
        "inject": ["enum", "description"]
      },
      "voice_profile_uid": {
        "source": "brandkit.voiceProfiles",
        "valueField": "uid",
        "labelField": "name",
        "inject": ["enum", "description"]
      },
      "knowledge_vault_content_id": {
        "source": "brandkit.knowledgeVaultContents",
        "valueField": "uid",
        "labelField": "title",
        "inject": ["enum", "description"]
      },
      "content_uid": {
        "source": "brandkit.knowledgeVaultContents",
        "valueField": "uid",
        "labelField": "title",
        "inject": ["enum", "description"]
      }
    },
    "entryToolDescription": {
      "segments": [
        { "source": "brandkit.voiceProfiles", "style": "list" },
        { "source": "brandkit.knowledgeVaultContents", "style": "list" },
        { "source": "brandkit.brandKit", "style": "value" }
      ]
    }
  },
  "personalize": {
    "description": "Personalize management API — OAuth bootstrap for attributes, audiences, experiences, and events.",
    "bootstrap": {
      "api": "personalize",
      "requires": ["oauth", "personalizeProjectId"],
      "endpoints": [
        "GET /attributes",
        "GET /audiences",
        "GET /experiences",
        "GET /events"
      ]
    },
    "requiredBootstrap": "personalize",
    "propertyRules": {
      "attribute_uid": {
        "source": "personalize.attributes",
        "valueField": "uid",
        "labelField": "name",
        "inject": ["enum", "description"]
      },
      "audience_uid": {
        "source": "personalize.audiences",
        "valueField": "uid",
        "labelField": "name",
        "inject": ["enum", "description"]
      },
      "experience_uid": {
        "source": "personalize.experiences",
        "valueField": "uid",
        "labelField": "name",
        "inject": ["enum", "description"]
      },
      "event_uid": {
        "source": "personalize.events",
        "valueField": "uid",
        "labelField": "key",
        "inject": ["enum", "description"]
      },
      "metric_key": {
        "source": "personalize.events",
        "valueField": "key",
        "labelField": "key",
        "inject": ["enum", "description"]
      }
    },
    "entryToolDescription": {
      "segments": [
        { "source": "personalize.attributes", "style": "list" },
        { "source": "personalize.audiences", "style": "list" },
        { "source": "personalize.experiences", "style": "list" },
        { "source": "personalize.events", "style": "list" },
        { "source": "personalize.project", "style": "value" }
      ]
    }
  },
  "developerhub": {
    "description": "Developer Hub Marketplace apps REST API — OAuth bootstrap for organization apps plus configured stack API key.",
    "bootstrap": {
      "api": "developerhub",
      "requires": ["oauth", "apiKey"],
      "endpoints": ["GET /apps"]
    },
    "requiredBootstrap": "developerhub",
    "propertyRules": {
      "app_uid": {
        "source": "developerhub.apps",
        "valueField": "uid",
        "labelField": "name",
        "inject": ["enum", "description"]
      }
    },
    "entryToolDescription": {
      "segments": [
        { "source": "developerhub.apps", "style": "list" },
        { "source": "developerhub.organization", "style": "value" },
        { "source": "developerhub.stack", "style": "value" }
      ]
    }
  }
}
