create-browser
Set up and launch a customized browser profile with defined configurations like domain, cookies, proxy settings, and fingerprints using the AdsPower LocalAPI MCP Server.
Instructions
Create a browser
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cookie | No | The cookie of the browser, eg: "[{"domain":".baidu.com","expirationDate":"","name":"","path":"/","sameSite":"unspecified","secure":true,"value":"","id":1}]" | |
country | No | The country of the browser, eg: "CN" | |
domainName | No | The domain name of the browser, eg: facebook.com | |
fingerprintConfig | No | The fingerprint config of the browser, default is automatic_timezone: 0, timezone: "", language: [], flash: "", fonts: [], webrtc: disabled, browser_kernel_config: ua_auto, random_ua: ua_version: [], ua_system_version: [], tls_switch: 0, tls: "" | |
groupId | Yes | The group id of the browser, must be a numeric string (e.g., "123"). You can use the get-group-list tool to get the group list or create a new group, or default is 0 | |
name | No | The name of the browser, eg: "My Browser" | |
openUrls | No | The open urls of the browser, eg: ["https://www.google.com"] | |
password | No | The password of the browser, eg: "password" | |
storageStrategy | No | The storage strategy of the browser, default is 0 | |
sysAppCateId | No | The sys app cate id of the browser, you can use the get-application-list tool to get the application list | |
userProxyConfig | Yes | The user proxy config of the browser | |
username | No | The username of the browser, eg: "user" |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"cookie": {
"description": "The cookie of the browser, eg: \"[{\"domain\":\".baidu.com\",\"expirationDate\":\"\",\"name\":\"\",\"path\":\"/\",\"sameSite\":\"unspecified\",\"secure\":true,\"value\":\"\",\"id\":1}]\"",
"type": "string"
},
"country": {
"description": "The country of the browser, eg: \"CN\"",
"type": "string"
},
"domainName": {
"description": "The domain name of the browser, eg: facebook.com",
"type": "string"
},
"fingerprintConfig": {
"additionalProperties": false,
"description": "The fingerprint config of the browser, default is automatic_timezone: 0, timezone: \"\", language: [], flash: \"\", fonts: [], webrtc: disabled, browser_kernel_config: ua_auto, random_ua: ua_version: [], ua_system_version: [], tls_switch: 0, tls: \"\"",
"properties": {
"automatic_timezone": {
"description": "The automatic timezone of the browser, default is 0",
"enum": [
"0",
"1"
],
"type": "string"
},
"browser_kernel_config": {
"additionalProperties": false,
"description": "The browser kernel config of the browser, default is version: ua_auto, type: chrome",
"properties": {
"type": {
"description": "The type of the browser, default is chrome",
"enum": [
"chrome",
"firefox"
],
"type": "string"
},
"version": {
"description": "The version of the browser, default is ua_auto",
"enum": [
"92",
"99",
"102",
"105",
"108",
"111",
"114",
"115",
"116",
"117",
"118",
"119",
"120",
"121",
"122",
"123",
"124",
"125",
"126",
"127",
"128",
"129",
"130",
"131",
"132",
"133",
"134",
"ua_auto"
],
"type": "string"
}
},
"type": "object"
},
"flash": {
"description": "The flash of the browser, default is disabled",
"enum": [
"block",
"allow"
],
"type": "string"
},
"fonts": {
"description": "The fonts of the browser, eg: [\"Arial\", \"Times New Roman\"]",
"items": {
"type": "string"
},
"type": "array"
},
"language": {
"description": "The language of the browser, eg: [\"en-US\", \"zh-CN\"]",
"items": {
"type": "string"
},
"type": "array"
},
"random_ua": {
"additionalProperties": false,
"description": "The random ua config of the browser, default is ua_version: [], ua_system_version: []",
"properties": {
"ua_system_version": {
"description": "The ua system version of the browser, eg: [\"Android 9\", \"iOS 14\"]",
"items": {
"enum": [
"Android 9",
"Android 10",
"Android 11",
"Android 12",
"Android 13",
"iOS 14",
"iOS 15",
"Windows 7",
"Windows 8",
"Windows 10",
"Windows 11",
"Mac OS X 10",
"Mac OS X 11",
"Mac OS X 12",
"Mac OS X 13",
"Linux"
],
"type": "string"
},
"type": "array"
},
"ua_version": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"timezone": {
"description": "The timezone of the browser, eg: Asia/Shanghai",
"type": "string"
},
"tls": {
"description": "The tls of the browser, if tls_switch is 1, you can set the tls of the browser, eg: \"0xC02C,0xC030\"",
"type": "string"
},
"tls_switch": {
"description": "The tls switch of the browser, default is 0",
"enum": [
"0",
"1"
],
"type": "string"
},
"webrtc": {
"description": "The webrtc of the browser, default is disabled",
"enum": [
"disabled",
"forward",
"proxy",
"local"
],
"type": "string"
}
},
"type": "object"
},
"groupId": {
"description": "The group id of the browser, must be a numeric string (e.g., \"123\"). You can use the get-group-list tool to get the group list or create a new group, or default is 0",
"pattern": "^\\d+$",
"type": "string"
},
"name": {
"description": "The name of the browser, eg: \"My Browser\"",
"type": "string"
},
"openUrls": {
"description": "The open urls of the browser, eg: [\"https://www.google.com\"]",
"items": {
"type": "string"
},
"type": "array"
},
"password": {
"description": "The password of the browser, eg: \"password\"",
"type": "string"
},
"storageStrategy": {
"description": "The storage strategy of the browser, default is 0",
"type": "number"
},
"sysAppCateId": {
"description": "The sys app cate id of the browser, you can use the get-application-list tool to get the application list",
"type": "string"
},
"userProxyConfig": {
"additionalProperties": false,
"description": "The user proxy config of the browser",
"properties": {
"global_config": {
"description": "The global config of the browser, default is 0",
"enum": [
"0",
"1"
],
"type": "string"
},
"proxy_host": {
"description": "The proxy host of the browser, eg: 127.0.0.1",
"type": "string"
},
"proxy_password": {
"description": "The proxy password of the browser, eg: password",
"type": "string"
},
"proxy_port": {
"description": "The proxy port of the browser, eg: 8080",
"type": "string"
},
"proxy_soft": {
"description": "The proxy soft of the browser",
"enum": [
"brightdata",
"brightauto",
"oxylabsauto",
"922S5auto",
"ipideeauto",
"ipfoxyauto",
"922S5auth",
"kookauto",
"ssh",
"other",
"no_proxy"
],
"type": "string"
},
"proxy_type": {
"enum": [
"http",
"https",
"socks5",
"no_proxy"
],
"type": "string"
},
"proxy_url": {
"description": "The proxy url of the browser, eg: http://127.0.0.1:8080",
"type": "string"
},
"proxy_user": {
"description": "The proxy user of the browser, eg: user",
"type": "string"
}
},
"required": [
"proxy_soft"
],
"type": "object"
},
"username": {
"description": "The username of the browser, eg: \"user\"",
"type": "string"
}
},
"required": [
"groupId",
"userProxyConfig"
],
"type": "object"
}