mirror of
https://github.com/Tencent/BrowserSkill.git
synced 2026-09-10 13:01:23 +08:00
33 lines
821 B
JSON
33 lines
821 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "TabListParams",
|
|
"type": "object",
|
|
"required": [
|
|
"session_id"
|
|
],
|
|
"properties": {
|
|
"scope": {
|
|
"default": "all",
|
|
"allOf": [
|
|
{
|
|
"$ref": "#/definitions/TabScope"
|
|
}
|
|
]
|
|
},
|
|
"session_id": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"TabScope": {
|
|
"description": "View scope for [`TabListParams`] (§6 sandbox table).\n\n* `User` — tabs that live in any window other than an Agent Window. * `Agent` — tabs in the requesting session's Agent Window only. * `All` — both of the above; never reveals other sessions' Agent Windows (cross-session isolation per §6).",
|
|
"type": "string",
|
|
"enum": [
|
|
"user",
|
|
"agent",
|
|
"all"
|
|
]
|
|
}
|
|
}
|
|
}
|