34 lines
900 B
JSON
34 lines
900 B
JSON
{
|
|
"name": "browser_tabs",
|
|
"description": "List, create, close, or select a browser tab",
|
|
"arguments": {
|
|
"type": "object",
|
|
"properties": {
|
|
"action": {
|
|
"type": "string",
|
|
"enum": [
|
|
"list",
|
|
"new",
|
|
"close",
|
|
"select"
|
|
],
|
|
"description": "Operation to perform"
|
|
},
|
|
"index": {
|
|
"type": "number",
|
|
"description": "Tab index. Required for \"select\". Optional for \"close\" (defaults to current tab)."
|
|
},
|
|
"position": {
|
|
"type": "string",
|
|
"enum": [
|
|
"active",
|
|
"side"
|
|
],
|
|
"description": "IMPORTANT: Set to \"side\" if user mentions \"side\", \"beside\", \"side panel\", or \"side by side\". Opens browser in side editor group. Only for action \"new\". Defaults to \"active\"."
|
|
}
|
|
},
|
|
"required": [
|
|
"action"
|
|
]
|
|
}
|
|
} |