new_tab
Creates a new browser tab in a managed group, navigates to the specified URL, and waits for the page to fully load, returning the tab ID and load status.
Instructions
new_tab("https://example.com") — 开新标签,加入 nekoro 托管组,切过去并 attach。
走扩展 navigate action:chrome.tabs.create + 分组 + waitTabLoad 等真实 load 事件,
尽量等到加载完(不像原来裸 Target.createTarget 直接返回、后续 wait 撞 about:blank
stale-complete 竞态);超时则 loaded=False。返回 {tabId, loaded},之后 helper 直接
作用于新标签。注意:load 等待上限由扩展内部硬编码(~10s),timeout 只界定这条 RPC
的传输上限(取 max(timeout,10)+5,保证不早于扩展的 load 等待就超时),并不缩短扩展
侧的 load 等待预算。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| timeout | No |