新建标签页
tab_newCreate a new browser tab with optional URL, background opening, and multi-account cookie isolation by specifying a context ID.
Instructions
新建标签页。指定 context_id 时在对应多账号上下文中创建(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": "tab_new"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | 初始网址,可为空 | |
| background | No | 是否在后台打开 | |
| browser_id | No | 浏览器会话 id,省略时用当前唯一会话 | |
| context_id | No | 多账号上下文 id(由 context_new 创建),省略时在主上下文创建 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| title | No | ||
| tab_id | Yes | ||
| browser_id | No | ||
| context_id | No | ||
| ready_state | No |