{
  "description": "Use nanobot from WeCom work chats.",
  "requirements": "WeCom app credentials and callback settings",
  "setup": {
    "docsLabel": "Open WeCom setup",
    "officialLabel": "Open WeCom console",
    "tryIt": "Send a test message to the WeCom bot.",
    "summary": "WeCom needs an AI bot ID and secret from the WeCom admin console.",
    "steps": [
      "Create an AI bot in WeCom and choose API mode.",
      "Copy the Bot ID and Secret into nanobot.",
      "Save and enable WeCom, then send a test message."
    ],
    "fields": {
      "botId": {
        "label": "Bot ID",
        "placeholder": "WeCom bot ID",
        "help": "Copy it from the WeCom AI Bot API mode page."
      },
      "secret": {
        "label": "Secret",
        "placeholder": "••••••",
        "help": "Keep the WeCom bot secret private."
      },
      "allowFrom": {
        "label": "Allowed users",
        "placeholder": "User IDs, comma separated"
      }
    }
  }
}
