Skip to main content
Glama

browserless_export

Read-only

Fetches a webpage from a URL and returns content in its native format with automatic type detection, optionally bundling assets into a ZIP for offline use.

Instructions

Export a webpage from a URL via the Browserless /export API. Fetches the URL and returns its content in the native format (HTML, PDF, image, etc.). Automatically detects the content type. Set includeResources=true to bundle all page assets (CSS, JS, images) into a ZIP archive for offline use.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "browserless_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to export (must be http or https)
toDiskNoSave the result outside model context. Native MCP sessions default binary results to saving; false explicitly requests inline output. Legacy/stdio omission preserves existing output.
_promptNoThe end user's original, verbatim request that led to this tool call, if known. Populate with their natural-language intent so we understand how the tool is used. Do NOT include secrets, passwords, API keys, tokens, or other credentials. Omit if unavailable.
profileNoOptional name of an authentication profile to hydrate into the browser before the page is exported. The profile's cookies, localStorage, and IndexedDB are restored into the session before the request runs. The profile must already exist for the API token in use — create one with Browserless.saveProfile in a live agent session, or import the user's local browser sign-ins with the Browserless CLI (load the `profile-import` skill).
timeoutNoRequest timeout in milliseconds
bestAttemptNoWhen true, proceed even if awaited events fail or timeout.
gotoOptionsNoPuppeteer Page.goto() options for navigation
waitForTimeoutNoMilliseconds to wait after page load before exporting
includeResourcesNoWhen true, bundle all linked resources (CSS, JS, images) into a ZIP file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.50.0
    • addedInput schema / properties / toDisk
      Added value: +{
      +  "description": "Save the result outside model context. Native MCP sessions default binary results to saving; false explicitly requests inline output. Legacy/stdio omission preserves existing output.",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv1.39.0
    • changedInput schema / properties / profile / description
      Previous value: -"Optional name of an authentication profile to hydrate into the browser before the page is exported. The profile's cookies, localStorage, and IndexedDB are restored into the session before the request runs. The profile must already exist for the API token in use — create one with Browserless.saveProfile in a live agent session first."New value: +"Optional name of an authentication profile to hydrate into the browser before the page is exported. The profile's cookies, localStorage, and IndexedDB are restored into the session before the request runs. The profile must already exist for the API token in use — create one with Browserless.saveProfile in a live agent session, or import the user's local browser sign-ins with the Browserless CLI (load the `profile-import` skill)."
  3. First observedv1.16.0

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: the content type is auto-detected, output is the page's native binary format, and includeResources changes the output to a bundled ZIP — useful for predicting what comes back. It omits cost/credit implications and any rate limits, and says nothing about toDisk behavior beyond what the schema documents.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and the API path, and the ZIP/offline case is stated last where it belongs. Minor redundancy between "returns its content in the native format" and "Automatically detects the content type," which say nearly the same thing twice.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 9-parameter tool with a nested gotoOptions object and no output schema, the description adequately frames what is returned (native HTML/PDF/image or a ZIP) and how content type is determined. Remaining gaps — inline-vs-disk output behavior and the authentication profile mechanism — are documented inside the schema rather than the description, so an agent reading both can call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, including detailed explanations for toDisk, profile, gotoOptions, and waitForTimeout, so the schema carries the parameter burden. The description only restates includeResources, which the schema already explains, adding no syntax, defaults, or interactions between the timeout parameters.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Export a webpage from a URL via the Browserless /export API") and characterizes the return (native format, auto-detected content type, or ZIP with resources). It implicitly separates itself from crawl/search siblings by describing a single-URL content retrieval, but never names an alternative to disambiguate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage guidance is a conditional on one parameter: set includeResources=true to get an offline-ready ZIP. There is no explicit statement of when to prefer this tool over browserless_crawl, browserless_show, or browserless_smartscraper, and no exclusions or prerequisites (e.g., cost, units, auth) are given.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.