Files
BrowserSkill/crates/bsk-protocol/schema/tool_tab_create_params.json
T
2026-06-22 17:36:26 +08:00

37 lines
961 B
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "TabCreateParams",
"description": "Params for `tool.tab_create`. The new tab is always created inside the requesting session's Agent Window (design §6 sandbox rule — agents never spawn tabs in user windows).",
"type": "object",
"required": [
"session_id"
],
"properties": {
"active": {
"description": "Focus the new tab? Defaults to `true` (matches `chrome.tabs.create`).",
"type": [
"boolean",
"null"
]
},
"index": {
"description": "Insertion index within the Agent Window's tab strip. Omit to append at the end.",
"type": [
"integer",
"null"
],
"format": "int32"
},
"session_id": {
"type": "string"
},
"url": {
"description": "Destination URL. Defaults to `chrome://newtab` when omitted.",
"type": [
"string",
"null"
]
}
}
}