36 lines
1.2 KiB
JSON
36 lines
1.2 KiB
JSON
{
|
|
"name": "browser_navigate",
|
|
"description": "Navigate to a URL. By default reuses an existing tab; set newTab: true to open in a new tab.",
|
|
"arguments": {
|
|
"type": "object",
|
|
"properties": {
|
|
"url": {
|
|
"type": "string",
|
|
"description": "The URL to navigate to"
|
|
},
|
|
"viewId": {
|
|
"type": "string",
|
|
"description": "Target browser tab ID. If omitted, uses the last interacted 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. Defaults to \"active\" (current editor group)."
|
|
},
|
|
"take_screenshot_afterwards": {
|
|
"type": "boolean",
|
|
"description": "When true, takes a screenshot after navigation completes. Defaults to false."
|
|
},
|
|
"newTab": {
|
|
"type": "boolean",
|
|
"description": "When true, creates a new tab before navigating instead of reusing an existing tab. Defaults to false."
|
|
}
|
|
},
|
|
"required": [
|
|
"url"
|
|
]
|
|
}
|
|
} |