{
  "id": "oc-browser-relay",
  "name": "oc browser relay",
  "description": "Expose a local ChromeAgent/Relay Tool API to OpenClaw as agent tools.",
  "skills": ["./skills"],
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "baseUrl": {
        "type": "string",
        "default": "http://localhost:51234",
        "description": "Base URL for the local ChromeAgent Relay service"
      },
      "relayPort": {
        "type": "number",
        "default": 51234,
        "minimum": 1,
        "description": "Port used when auto-starting the relay process"
      },
      "autoStart": {
        "type": "boolean",
        "default": true,
        "description": "Automatically start the local relay process when the plugin is called and the relay is not healthy"
      },
      "preferBundledRelay": {
        "type": "boolean",
        "default": true,
        "description": "Prefer the relay bundled inside the OpenClaw plugin package"
      },
      "relayCommand": {
        "type": "string",
        "description": "Optional external command used to start the relay process. When omitted and preferBundledRelay=true, the bundled relay is used"
      },
      "relayArgs": {
        "type": "array",
        "items": {
          "type": "string"
        },
        "description": "Optional arguments passed to the external relay start command"
      },
      "relayCwd": {
        "type": "string",
        "description": "Working directory where the external relay start command is executed"
      },
      "relayEnv": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        },
        "description": "Optional environment variables for the relay process"
      },
      "startupTimeoutMs": {
        "type": "number",
        "default": 15000,
        "minimum": 1000,
        "description": "Maximum time to wait for the relay health check to pass after auto-start"
      },
      "startupPollIntervalMs": {
        "type": "number",
        "default": 500,
        "minimum": 100,
        "description": "Polling interval while waiting for the relay to become healthy after auto-start"
      }
    }
  }
}
