Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
No arguments |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
browser_navigate | Navigate to a URL Args:
url: The URL to navigate to - required
timeout: The timeout for the navigation - optional, default is 30000 |
browser_screenshot | Take a screenshot of the current page or a specific element Args:
name: The name of the screenshot - required, default is "screenshot"
storeBase64: Whether to store the screenshot as a base64 string - optional, default is True
downloadsDir: The directory to save the screenshot to - optional, default is the user's Downloads directory |
browser_click | Click an element on the page Args:
selector: The selector of the element to click - required |
browser_iframe_click | Click an element inside an iframe on the page Args:
iframeSelector: The selector of the iframe - required
selector: The selector of the element to click - required |
browser_fill | fill out an input field Args:
selector: CSS selector for input field - required
value: The value to fill - required |
browser_select | Select an element on the page with Select tag Args:
selector: CSS selector for element to select - required
value: The value to select - required |
browser_hover | Hover over an element on the page Args:
selector: CSS selector for element to hover over - required |
browser_evalute | Evaluate a JavaScript expression in the browser console Args:
script: The JavaScript expression to evaluate - required |
browser_close | Close the browser and release all resources |
browser_get_visible_text | Get the visible text of the current page |
browser_get_visible_html | Get the HTML of the current page |
browser_go_back | Navigate back in browser history |
browser_go_forward | Navigate forward in browser history |
browser_drag | Drag an element to another element Args:
sourceSelector: The selector for the element to drag - required
targetSelector: The selector for the target location - required |
browser_press_key | Press a key on the keyboard Args:
key: The key to press - required, (e.g. 'Enter', 'ArrowDown', 'a')
selector: Optional CSS selector to focus on before pressing the key - optional |
browser_save_as_pdf | Save the current page as a PDF Args:
outputPath: The path to save the PDF to - required
filename: The name of the PDF file - optional, default is "page.pdf"
format: The format of the PDF - optional, default is "A4" (e.g. "A4", "LETTER", "LEGAL", "TABLOID")
printBackground: Whether to print the background - optional, default is True
margin: The margin of the PDF - optional, default is None (e.g. {"top": "1cm", "right": "1cm", "bottom": "1cm", "left": "1cm"}) |