{
  "repo": "tidbcloud/serverless-test",
  "binary": "connectionProbe",
  "binary_path": "connectionProbe/main.go",
  "surface_kind": "cli_tool",
  "type": "cli_tool",
  "services": [
    {
      "name": "ConnectionProbeCLI",
      "package": "connectionProbe/main",
      "methods": [
        {
          "name": "run",
          "name_key": "CLI connectionProbe run",
          "input": "Flags for password, lark webhook, action URL, and metadata DSN",
          "output": "Runs connectivity probes against configured TiDB Cloud clusters and exits non-zero when any probe fails",
          "type": "cli"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "The binary reads db_config.yaml, probes both ports 4000 and 3306, records probe results into the metadata database, and optionally sends failure notifications.",
      "It does not expose an HTTP or gRPC server."
    ]
  }
}
