Files

43 lines
1.5 KiB
JSON

{
"name": "chrome_navigate",
"description": "Navigate to a URL, refresh the current tab, or navigate browser history (back/forward)",
"parameters": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "URL to navigate to. Special values: \"back\" or \"forward\" to navigate browser history in the target tab."
},
"newWindow": {
"type": "boolean",
"description": "Create a new window to navigate to the URL or not. Defaults to false"
},
"tabId": {
"type": "number",
"description": "Target an existing tab by ID (if provided, navigate/refresh/back/forward that tab instead of the active tab)."
},
"windowId": {
"type": "number",
"description": "Target an existing window by ID (when creating a new tab in existing window, or picking active tab if tabId is not provided)."
},
"background": {
"type": "boolean",
"description": "Perform the operation without stealing focus (do not activate the tab or focus the window). Default: false"
},
"width": {
"type": "number",
"description": "Window width in pixels (default: 1280). When width or height is provided, a new window will be created."
},
"height": {
"type": "number",
"description": "Window height in pixels (default: 720). When width or height is provided, a new window will be created."
},
"refresh": {
"type": "boolean",
"description": "Refresh the current active tab instead of navigating to a URL. When true, the url parameter is ignored. Defaults to false"
}
},
"required": []
}
}