新建多账号上下文
context_newCreate an isolated browser context with separate cookies to log into multiple accounts simultaneously in one browser.
Instructions
创建一个独立的浏览器上下文(BrowserContext),cookies 与主上下文完全隔离, 用于同一浏览器内登录多个账号。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "context_new"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser_id | No | 浏览器会话 id,省略时用当前唯一会话 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_ids | No | ||
| browser_id | Yes | ||
| context_id | Yes |