Files
cursor/projects/Users-ray-Documents-project-www-slot-backend/mcps/cursor-ide-browser/tools/browser_tabs.json
ray zhou f71a5c59af ok
2026-05-29 11:21:40 +08:00

34 lines
1.0 KiB
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": "Only set for action \"new\" when the user explicitly asks to reveal, show, focus, or open the browser visibly. Set to \"active\" for visible/revealed browser UI, or \"side\" if the user mentions \"side\", \"beside\", \"side panel\", or \"side by side\". Omit this parameter for background automation so focus is preserved."
}
},
"required": [
"action"
]
}
}