Skip to content
Changelog
Changelog

Tools

These tools are registered by the current source code under src/tools.

ToolCategoryUse it forOutput shape
browse_and_actAgentRun a complex browser task from a start URL using a natural-language instruction.Legacy plain text result or error text.
browse_and_act_structuredAgentRun the same agent flow when the client expects structured data.{ ok, result, instruction, start_url } or { ok: false, error, error_type }.
get_page_snapshotObservationGet the active page URL, title, and visible body text.{ ok, url, title, text, text_length, text_truncated }.
navigateNavigationOpen a URL in the active Playwright page.{ ok, url, title }.
scrollNavigationScroll the current page up or down by pixels.{ ok, direction, pixels }.
wait_forNavigationWait for a selector, visible text, or timeout.{ ok, mode, selector/text/seconds }.
clickInteractionClick the first element matching a CSS selector.{ ok, selector, url }.
type_textInteractionType text into the first input-like element matching a CSS selector.{ ok, selector, chars }.
press_keyInteractionPress a keyboard key such as Enter, Tab, or Escape.{ ok, key, url }.
take_screenshotArtifactsCapture a PNG screenshot of the full page or one selector.{ ok, file_name, path, url, title, size_bytes, full_page, selector }.
list_artifactsArtifactsList top-level runtime artifact files in /data.{ ok, count, files }.
get_fileArtifactsRead an artifact or download by safe file name and return base64 content.{ ok, file_name, category, mime_type, size_bytes, content_base64 }.
get_downloaded_fileArtifactsRead a downloaded file by safe file name when it exists in the data directory.{ ok, file_name, category, mime_type, size_bytes, content_base64 }.

Most tools return a structured dictionary with ok: true on success. Expected tool-boundary failures return ok: false, error, and error_type.

browse_and_act is intentionally kept as a string-output tool for older MCP clients. Prefer browse_and_act_structured when your client can consume structured results.