A page you are on
browser_read takes what:
A URL you are not on
browser_fetch {url, what} opens a background tab in your window, waits for load, reads the main content as markdown (or text or HTML) and closes the tab. It is the fast path for “read this documentation page and summarise it”. Pass keepTab: true to leave the tab open for follow-up actions, or context to fetch inside a developer context instead.
Because it is a real browser tab, pages that need JavaScript, logins from your session, or your cookies render correctly, unlike a plain HTTP fetch.
Structured extraction
browser_extract turns repeated elements into records:
{selector, attr} for an attribute. The result is a JSON array. Combine with browser_scroll or clicking “Load more” for paginated lists.
Tools the page exposes
Pages that implement WebMCP register typed tools onnavigator.modelContext. browser_webmcp {action: "list"} reports them with their schemas, and {action: "invoke", name, args} calls one. When a page offers a searchProducts tool that beats scraping the results grid.
Saving what you read
browser_pdfprints the page to a PDF file (A4,LetterorLegal, landscape, background graphics, scale) and returns the path,~/.browspark/artifacts/…by default.browser_screenshot {fullPage: true}for an image.
