connect-browser-with-ws
Link a browser by establishing a WebSocket connection using its URL, enabling interaction through the AdsPower LocalAPI MCP Server for profile management and automation tasks.
Instructions
Connect the browser with the ws url
Input Schema
Name | Required | Description | Default |
---|---|---|---|
serialNumber | No | The serial number of the browser to connect | |
userId | No | The browser id of the browser to connect | |
wsUrl | Yes | The ws url of the browser, get from the open-browser tool content `ws.puppeteer` |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"serialNumber": {
"description": "The serial number of the browser to connect",
"type": "string"
},
"userId": {
"description": "The browser id of the browser to connect",
"type": "string"
},
"wsUrl": {
"description": "The ws url of the browser, get from the open-browser tool content `ws.puppeteer`",
"type": "string"
}
},
"required": [
"wsUrl"
],
"type": "object"
}