Skip to main content

BROWSER_NAVIGATE_TOOL

Constant BROWSER_NAVIGATE_TOOL 

Source
pub(crate) const BROWSER_NAVIGATE_TOOL: &str = r#"{
  "name": "BrowserNavigate",
  "description": "Navigate your OWN browser pane to a new URL. Only works if your own pane IS a browser pane (view: \"browser\") — fails clearly otherwise, does not affect any other pane. Pass pane (from OpenBrowser) to act on a browser pane you opened; without it this acts on your own pane.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "pane": { "type": "string", "description": "Optional: the pane id OpenBrowser returned, to act on a browser pane you opened instead of your own pane. Only panes you opened are accepted." },
      "url": { "type": "string", "description": "URL to navigate to" }
    },
    "required": ["url"]
  }
}"#;