Skip to main content
Glama

Scrape a URL

scrape

Fetch a single URL and return chosen content—Markdown, HTML, links, images, screenshots, PDFs, or metadata—for one-shot page extraction.

Instructions

Fetch a single URL via the crawlbrulee scraping API and return the requested content (markdown, cleaned HTML, raw HTML, links, images, screenshot, PDF, page metadata in metadata). Use this for one-shot page extraction. For full-site discovery use the map tool first. To pull named values such as prices, titles or links, set extract.elements (name → CSS selector) instead of reading the whole markdown: they come back in elements, for no extra credits. Markdown and metadata stay on unless you set markdown: false and metadata: false, so send both to get only the values. Rules: https://crawlbrulee.com/docs/scrape/targeted-extraction. Check page_status_code before you trust the content: it is the HTTP status the site answered with for the final page. A page the site served is a successful result whatever its status, so a 404 or 503 page comes back with its content, not as an error. A 404 means the markdown is the site's "not found" page, not the page you asked for. 2xx and 4xx pages are billed, except 403, 407, 408, 429, 444 and 451; 5xx pages are never billed. If the site cannot be reached at all the tool returns a target_unreachable error (HTTP 502, not billed): retry later or check the URL. Set extract.pdf: {} to save the page as a PDF (pages or one long page, a4 or letter); it costs what a screenshot costs, and both together are billed once. Set extract.screenshot.color_scheme: "dark" for a screenshot of the site's dark theme, at no extra cost; the PDF then shows it too. Screenshot and PDF URLs in the response are signed download links that expire 24 hours after the scrape: download the file if you need it later; do not keep the link. The response also carries response_meta.usage: total_credit_cost = engine_credit_cost × proxy_multiplier + screenshot_slicing_credit_cost + zero_data_retention_credit_cost, plus engine and proxy (the resolved tier — never auto). engine is the billed engine (http, browser, screenshot, cache); a cache hit is represented by engine: "cache". Set zero_data_retention: true to keep the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. It adds 1 credit and must be enabled for the organization (else a zero_data_retention_not_enabled error, not billed). See https://crawlbrulee.com/docs/zero-data-retention. Extraction is capped per page: 30,000 links, 10,000 inline images and 10,000,000 characters of HTML. A page past a cap is truncated rather than refused, and the response warnings array names which one (links_truncated, inline_images_truncated, raw_html_truncated) — so treat that output as incomplete. elements_truncated means an elements value hit a limit. Use cleanup to control what is removed before any output is built: ads_and_popups (on by default) drops ads, cookie banners and chat widgets, and exclude_selectors removes anything else. It shapes markdown, cleaned_html, links, images and the screenshot, and NEVER raw_html — so request raw_html when you need the page exactly as it arrived. warnings also reports a section whose extraction failed outright (links_unavailable, inline_images_unavailable, metadata_unavailable): that field comes back omitted or empty while the rest of the scrape succeeded, so do NOT conclude the page had no links/images/metadata — re-run the scrape instead. An empty field with no such warning does mean the page had none. screenshot_unavailable means a screenshot was asked for, but the page came back from the http engine without one. pdf_unavailable means the PDF could not be made; the rest is there. pdf_single_page_overflow means a single_page PDF was too tall for one page and goes on over more pages. custom_user_agent means the request set its own User-Agent header; this can lower the success rate. To send your own headers or cookies to the site, set headers (for example Authorization, or a fixed User-Agent) or cookies. They go only to the site in url, and such a request never uses the cache. Header and cookie values pass through the chat with the AI, so the AI host may keep them in its history. Use short-lived tokens or a test account, and never a password you can't change. Tell the user this before they share one. See https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies.

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": "scrape"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe URL to scrape. Known tracking parameters are removed before the page is fetched, so they are neither sent to the target site nor part of the cache key. Every other query parameter is kept verbatim and is part of the cache key.
cacheNoCache settings for this request
proxyNoProxy tier. Defaults to auto: we start with the lightest way to get the page and step up our effort on our own when a site needs more (a stronger proxy, a real browser, or both), and bill the tier that delivered. basic or advanced pins the tier.auto
cleanupNoWhat is removed from the page before any output is built. Applies to markdown, cleaned_html, links and images on every engine, and to the screenshot. Never applies to raw_html, which is always the page before we removed anything.
cookiesNoYour own cookies to send to the site with the request. Each is a `name` and a `value`, sent only to the host of `url`. Cookies the site sets while redirecting are not kept. Up to 20 cookies, each up to 4096 bytes (name and value), counted toward the limit on `headers`. A value may not hold ";" or start or end with a space. A `__Secure-`, `__Host-` or `__Http-` cookie needs an https url. A request with headers or cookies never reads from or writes to the cache. Header and cookie values pass through the chat with the AI, so the AI host may keep them in its history. Use short-lived tokens or a test account, and never a password you can't change. See https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies.
extractNoWhich content formats to extract. Defaults to markdown + metadata.
headersNoYour own HTTP headers to send to the site with the request, for example `Authorization`, an api key, or a fixed `User-Agent` that the site has on an allowlist. Sent only to the origin of `url` (same scheme, host and port), or to its https version when `url` is http, and not on a redirect to another origin. Up to 10 headers; headers and cookies together up to 16384 bytes. Values are printable ASCII, with no space or tab at either end. Headers a browser doesn't let a web page set can't be set here either (a 400 names the header). Use `cookies` for cookies and `location.locale` for the language. Never put secrets in the `User-Agent`. Your own `User-Agent` can lower the success rate, and the response carries the `custom_user_agent` warning. A `Referer` must be the full http or https url of a public page, with no username or password; it is sent the way a browser sends it after a click on that page. A request with headers or cookies never reads from or writes to the cache. On a plain http url they travel unencrypted. Header and cookie values pass through the chat with the AI, so the AI host may keep them in its history. Use short-lived tokens or a test account, and never a password you can't change. See https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies.
locationNoOptional locale + country emulation for the scrape
require_jsNoGo straight to a headless browser to render JavaScript before scraping. Without it, we still move to a browser on our own when a page needs one; set it when you already know the page needs JavaScript, to save time.
zero_data_retentionNoKeeps the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. Adds 1 credit. Must be enabled for your organization. See https://crawlbrulee.com/docs/zero-data-retention.

Output Schema

NameRequiredDescriptionDefault
pdfNoPDF of the page, if requested with `extract.pdf` and it could be made
urlYesThe URL that was actually scraped, after any redirects, in normalized form — the base that links, images, and internal labels are computed against
linksNoLinks found on the page
imagesNoInline images found on the page
elementsNoThe values asked for in `extract.elements`, under the same names. Each name is a string, an object (a spec with `fields`), a list of either (`all: true`), or null when nothing matched (`[]` with `all: true`). An object holds its field names with the same kinds of values, nested up to 3 levels. Every requested name is always present, at every level of `fields`.
markdownNoPage content converted to clean Markdown
metadataNoExtracted page metadata (title, OG tags, etc.)
raw_htmlNoRaw, unprocessed HTML of the page
warningsNoNon-error notices about the scrape. Truncation codes — `screenshot_truncated` (long page exceeded the scrolling-screenshot height cap), `links_truncated` / `inline_images_truncated` (page had more links/images than the per-page extraction caps), `raw_html_truncated` (rendered HTML exceeded the per-page size budget) — mean the field is present but capped. `elements_truncated` means at least one `elements` value hit a limit: a list was cut at 1,000 matches, the request reached 10,000 matches in total, or a value did not fit the ~1 MB of values allowed per request (that value is then null, never cut short). Unavailability codes — `links_unavailable` / `inline_images_unavailable` / `metadata_unavailable` — mean that optional field could not be extracted and was omitted (null/empty) while the rest of the scrape succeeded, so an empty field carrying one of these does NOT mean the page had none. `screenshot_unavailable` means a screenshot was asked for, but the page came back from the http engine without one. `pdf_unavailable` means a PDF was asked for, but the page came back without one: it came back from the http engine, the site answered an empty error page, the PDF was over 50 MB, or it did not finish in time. `pdf_single_page_overflow` means a `single_page` PDF was taller than the 15,000 px page limit and goes on over more pages. `custom_user_agent` means the request set its own `User-Agent` header; this can lower the success rate. Stable string codes — clients can switch on them. Warnings are stored with the result: async result fetches and cache hits carry them too, filtered to the fields the request asked for. `metadata_truncated` is retired and no longer sent: metadata has no size limit of its own now, though the code can still appear on results stored before that change.
screenshotNoScreenshot of the page, if requested
cleaned_htmlNoCleaned HTML of the main page content
content_typeNoContent-Type header returned by the server
requested_urlYesThe URL you requested, echoed verbatim — before any redirects
response_metaYesRequest-level metadata. `response_meta.usage` reports what the request cost (total_credit_cost and its parts), the billed engine and the resolved proxy tier.
page_status_codeNoThe HTTP status the site answered with for the final page, after redirects. Check it before you trust the content. A page the site served is a successful result whatever its status: a 404 or 503 page comes back with its content here, not as an error, so a 404 means the markdown is the site's "not found" page, not the page you asked for. Billing follows this status: 2xx and 4xx pages are billed, except 403, 407, 408, 429, 444 and 451; 5xx pages are never billed. Older api versions do not send it; they only returned pages that loaded normally.
unsupported_fieldsNoExtract fields that were requested but are not supported for this content type

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv1.6.0
    • changedInput schema / properties / extract / description
      Previous value: -"Which content formats to extract. Defaults to metadata + cleaned_html."New value: +"Which content formats to extract. Defaults to markdown + metadata."
    • changedInput schema / properties / extract / properties / cleaned_html / default
      Previous value: -trueNew value: +false
    • changedInput schema / properties / extract / properties / markdown / default
      Previous value: -falseNew value: +true
    • addedInput schema / properties / extract / properties / pdf
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Save the page as a PDF: a real document with selectable text and working links, backgrounds printed, and no header or footer added. `{}` takes every default. The request runs in a browser. The response carries a top-level `pdf` with a signed link that expires 24 hours after the scrape. It costs what a screenshot costs, and a PDF and a screenshot in one request are billed once. A cached copy of the page answers only when it has a PDF made with the same settings; `cache.max_age: 0` always makes a new one. In rare cases the PDF cannot be made: the rest of the scrape still comes back, with the `pdf_unavailable` warning, and the request costs what it costs without the PDF. A PDF-only request (every other format off, `markdown` and `metadata` included) on a page that cannot be made into a PDF is a 422 `unsupported_pdf_output`, not billed. An async job in that case, or one that asked only for a PDF and got none, ends `failed` and is not billed. A PDF on its own is made with the light theme. When the same request also asks for a screenshot with `color_scheme: \"dark\"`, the PDF is dark too.",
      +  "properties": {
      +    "landscape": {
      +      "description": "Turn the paper sideways, for `layout: \"pages\"`. Defaults to false. Not allowed with `single_page`.",
      +      "type": "boolean"
      +    },
      +    "layout": {
      +      "default": "pages",
      +      "description": "`pages` (default): the page on sheets of paper, laid out as in the browser window (the desktop default, or the screenshot device and viewport when the request also asks for a screenshot) and shrunk to fit the paper width. `single_page`: one page as wide as the browser window and as tall as the web page, up to 15,000 px; a taller page goes on over more pages, with the `pdf_single_page_overflow` warning.",
      +      "enum": [
      +        "pages",
      +        "single_page"
      +      ],
      +      "type": "string"
      +    },
      +    "media": {
      +      "default": "screen",
      +      "description": "`screen` (default): the page as it looks on screen. `print`: the site's own print style, which on many sites hides menus and images; a site without one looks as on screen.",
      +      "enum": [
      +        "screen",
      +        "print"
      +      ],
      +      "type": "string"
      +    },
      +    "paper": {
      +      "description": "Paper size for `layout: \"pages\"`: `a4` (default) or `letter`. Not allowed with `single_page`.",
      +      "enum": [
      +        "a4",
      +        "letter"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedInput schema / properties / extract / properties / screenshot / properties / color_scheme
      Added value: +{
      +  "description": "`light` (default) or `dark`. `dark` asks the site for its dark theme, if it has one, and the screenshot shows it. A site without a dark theme, or whose dark theme is only a switch on the page, looks the same as with `light`. When the request also asks for `extract.pdf`, the PDF shows the dark theme too. No extra credits.",
      +  "enum": [
      +    "light",
      +    "dark"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / proxy / description
      Previous value: -"Proxy tier to use for fetching"New value: +"Proxy tier. Defaults to auto: we start with the lightest way to get the page and step up our effort on our own when a site needs more (a stronger proxy, a real browser, or both), and bill the tier that delivered. basic or advanced pins the tier."
    • changedInput schema / properties / require_js / description
      Previous value: -"Use a headless browser to render JavaScript before scraping"New value: +"Go straight to a headless browser to render JavaScript before scraping. Without it, we still move to a browser on our own when a page needs one; set it when you already know the page needs JavaScript, to save time."
    • changedOutput schema / properties / page_status_code / description
      Previous value: -"The HTTP status the site answered with for the final page, after redirects. Check it before you trust the content. A page the site served is a successful result whatever its status: a 404 or 503 page comes back with its content here, not as an error, so a 404 means the markdown is the site's \"not found\" page, not the page you asked for. Billing follows this status: 2xx and 4xx pages are billed, except 403, 407, 408, 429 and 451; 5xx pages are never billed. Older api versions do not send it; they only returned pages that loaded normally."New value: +"The HTTP status the site answered with for the final page, after redirects. Check it before you trust the content. A page the site served is a successful result whatever its status: a 404 or 503 page comes back with its content here, not as an error, so a 404 means the markdown is the site's \"not found\" page, not the page you asked for. Billing follows this status: 2xx and 4xx pages are billed, except 403, 407, 408, 429, 444 and 451; 5xx pages are never billed. Older api versions do not send it; they only returned pages that loaded normally."
    • addedOutput schema / properties / pdf
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "PDF of the page, if requested with `extract.pdf` and it could be made",
      +  "properties": {
      +    "bytes": {
      +      "description": "Size of the PDF file in bytes",
      +      "maximum": 9007199254740991,
      +      "minimum": -9007199254740991,
      +      "type": "integer"
      +    },
      +    "url": {
      +      "description": "Signed link to download the PDF. It expires 24 hours after the scrape (for an async scrape, 24 hours after you submitted it; fetching the result again does not extend it). Download the file, do not keep the link",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "url",
      +    "bytes"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / warnings / description
      Previous value: -"Non-error notices about the scrape. Truncation codes — `screenshot_truncated` (long page exceeded the scrolling-screenshot height cap), `links_truncated` / `inline_images_truncated` (page had more links/images than the per-page extraction caps), `raw_html_truncated` (rendered HTML exceeded the per-page size budget) — mean the field is present but capped. `elements_truncated` means at least one `elements` value hit a limit: a list was cut at 1,000 matches, the request reached 10,000 matches in total, or a value did not fit the ~1 MB of values allowed per request (that value is then null, never cut short). Unavailability codes — `links_unavailable` / `inline_images_unavailable` / `metadata_unavailable` — mean that optional field could not be extracted and was omitted (null/empty) while the rest of the scrape succeeded, so an empty field carrying one of these does NOT mean the page had none. `screenshot_unavailable` means a screenshot was asked for, but the page came back from the http engine without one. `custom_user_agent` means the request set its own `User-Agent` header; this can lower the success rate. Stable string codes — clients can switch on them. Warnings are stored with the result: async result fetches and cache hits carry them too, filtered to the fields the request asked for. `metadata_truncated` is retired and no longer sent: metadata has no size limit of its own now, though the code can still appear on results stored before that change."New value: +"Non-error notices about the scrape. Truncation codes — `screenshot_truncated` (long page exceeded the scrolling-screenshot height cap), `links_truncated` / `inline_images_truncated` (page had more links/images than the per-page extraction caps), `raw_html_truncated` (rendered HTML exceeded the per-page size budget) — mean the field is present but capped. `elements_truncated` means at least one `elements` value hit a limit: a list was cut at 1,000 matches, the request reached 10,000 matches in total, or a value did not fit the ~1 MB of values allowed per request (that value is then null, never cut short). Unavailability codes — `links_unavailable` / `inline_images_unavailable` / `metadata_unavailable` — mean that optional field could not be extracted and was omitted (null/empty) while the rest of the scrape succeeded, so an empty field carrying one of these does NOT mean the page had none. `screenshot_unavailable` means a screenshot was asked for, but the page came back from the http engine without one. `pdf_unavailable` means a PDF was asked for, but the page came back without one: it came back from the http engine, the site answered an empty error page, the PDF was over 50 MB, or it did not finish in time. `pdf_single_page_overflow` means a `single_page` PDF was taller than the 15,000 px page limit and goes on over more pages. `custom_user_agent` means the request set its own `User-Agent` header; this can lower the success rate. Stable string codes — clients can switch on them. Warnings are stored with the result: async result fetches and cache hits carry them too, filtered to the fields the request asked for. `metadata_truncated` is retired and no longer sent: metadata has no size limit of its own now, though the code can still appear on results stored before that change."
  2. Changed6 schema fields changedv1.4.0
    • addedInput schema / properties / cookies
      Added value: +{
      +  "description": "Your own cookies to send to the site with the request. Each is a `name` and a `value`, sent only to the host of `url`. Cookies the site sets while redirecting are not kept. Up to 20 cookies, each up to 4096 bytes (name and value), counted toward the limit on `headers`. A value may not hold \";\" or start or end with a space. A `__Secure-`, `__Host-` or `__Http-` cookie needs an https url. A request with headers or cookies never reads from or writes to the cache. Header and cookie values pass through the chat with the AI, so the AI host may keep them in its history. Use short-lived tokens or a test account, and never a password you can't change. See https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies.",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "name": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "value": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "value"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • changedInput schema / properties / extract / properties / elements / additionalProperties / anyOf
      Previous value: -[
      -  {
      -    "maxLength": 500,
      -    "type": "string"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "all": {
      -        "default": false,
      -        "description": "Return every match as a list instead of the first. Defaults to false",
      -        "type": "boolean"
      -      },
      -      "attribute": {
      -        "description": "The attribute to read when `output` is `attribute`. `href` and `src` come back as full urls",
      -        "maxLength": 100,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "fields": {
      -        "additionalProperties": {
      -          "anyOf": [
      -            {
      -              "maxLength": 500,
      -              "type": "string"
      -            },
      -            {
      -              "additionalProperties": false,
      -              "properties": {
      -                "all": {
      -                  "default": false,
      -                  "type": "boolean"
      -                },
      -                "attribute": {
      -                  "maxLength": 100,
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "fields": {
      -                  "additionalProperties": {
      -                    "anyOf": [
      -                      {
      -                        "maxLength": 500,
      -                        "type": "string"
      -                      },
      -                      {
      -                        "additionalProperties": false,
      -                        "properties": {
      -                          "all": {
      -                            "default": false,
      -                            "type": "boolean"
      -                          },
      -                          "attribute": {
      -                            "maxLength": 100,
      -                            "minLength": 1,
      -                            "type": "string"
      -                          },
      -                          "fields": {
      -                            "additionalProperties": {
      -                              "anyOf": [
      -                                {
      -                                  "maxLength": 500,
      -                                  "type": "string"
      -                                },
      -                                {
      -                                  "additionalProperties": false,
      -                                  "properties": {
      -                                    "all": {
      -                                      "default": false,
      -                                      "type": "boolean"
      -                                    },
      -                                    "attribute": {
      -                                      "maxLength": 100,
      -                                      "minLength": 1,
      -                                      "type": "string"
      -                                    },
      -                                    "output": {
      -                                      "enum": [
      -                                        "text",
      -                                        "html",
      -                                        "attribute"
      -                                      ],
      -                                      "type": "string"
      -                                    },
      -                                    "selector": {
      -                                      "maxLength": 500,
      -                                      "type": "string"
      -                                    }
      -                                  },
      -                                  "required": [
      -                                    "selector"
      -                                  ],
      -                                  "type": "object"
      -                                }
      -                              ]
      -                            },
      -                            "propertyNames": {
      -                              "type": "string"
      -                            },
      -                            "type": "object"
      -                          },
      -                          "output": {
      -                            "enum": [
      -                              "text",
      -                              "html",
      -                              "attribute"
      -                            ],
      -                            "type": "string"
      -                          },
      -                          "selector": {
      -                            "maxLength": 500,
      -                            "type": "string"
      -                          }
      -                        },
      -                        "required": [
      -                          "selector"
      -                        ],
      -                        "type": "object"
      -                      }
      -                    ]
      -                  },
      -                  "propertyNames": {
      -                    "type": "string"
      -                  },
      -                  "type": "object"
      -                },
      -                "output": {
      -                  "enum": [
      -                    "text",
      -                    "html",
      -                    "attribute"
      -                  ],
      -                  "type": "string"
      -                },
      -                "selector": {
      -                  "maxLength": 500,
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "selector"
      -              ],
      -              "type": "object"
      -            }
      -          ]
      -        },
      -        "description": "Used instead of `output`: turns each match into an object of named values, each read inside that match only. Same shape as `elements`; nests up to 3 levels",
      -        "propertyNames": {
      -          "type": "string"
      -        },
      -        "type": "object"
      -      },
      -      "output": {
      -        "description": "What to return for a match: `text` (default), `html` (the outer HTML) or `attribute`",
      -        "enum": [
      -          "text",
      -          "html",
      -          "attribute"
      -        ],
      -        "type": "string"
      -      },
      -      "selector": {
      -        "description": "CSS selector, up to 500 characters",
      -        "maxLength": 500,
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "selector"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 500,
      +    "type": "string"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "all": {
      +        "default": false,
      +        "description": "Return every match as a list instead of the first. Defaults to false",
      +        "type": "boolean"
      +      },
      +      "attribute": {
      +        "description": "The attribute to read when `output` is `attribute`. `href` and `src` come back as full urls",
      +        "maxLength": 100,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "fields": {
      +        "additionalProperties": {
      +          "anyOf": [
      +            {
      +              "maxLength": 500,
      +              "type": "string"
      +            },
      +            {
      +              "additionalProperties": false,
      +              "properties": {
      +                "all": {
      +                  "default": false,
      +                  "type": "boolean"
      +                },
      +                "attribute": {
      +                  "maxLength": 100,
      +                  "minLength": 1,
      +                  "type": "string"
      +                },
      +                "fields": {
      +                  "additionalProperties": {
      +                    "anyOf": [
      +                      {
      +                        "maxLength": 500,
      +                        "type": "string"
      +                      },
      +                      {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "all": {
      +                            "default": false,
      +                            "type": "boolean"
      +                          },
      +                          "attribute": {
      +                            "maxLength": 100,
      +                            "minLength": 1,
      +                            "type": "string"
      +                          },
      +                          "fields": {
      +                            "additionalProperties": {
      +                              "anyOf": [
      +                                {
      +                                  "maxLength": 500,
      +                                  "type": "string"
      +                                },
      +                                {
      +                                  "additionalProperties": false,
      +                                  "properties": {
      +                                    "all": {
      +                                      "default": false,
      +                                      "type": "boolean"
      +                                    },
      +                                    "attribute": {
      +                                      "maxLength": 100,
      +                                      "minLength": 1,
      +                                      "type": "string"
      +                                    },
      +                                    "output": {
      +                                      "enum": [
      +                                        "text",
      +                                        "html",
      +                                        "attribute"
      +                                      ],
      +                                      "type": "string"
      +                                    },
      +                                    "selector": {
      +                                      "maxLength": 500,
      +                                      "type": "string"
      +                                    }
      +                                  },
      +                                  "required": [
      +                                    "selector"
      +                                  ],
      +                                  "type": "object"
      +                                }
      +                              ]
      +                            },
      +                            "propertyNames": {
      +                              "type": "string"
      +                            },
      +                            "type": "object"
      +                          },
      +                          "output": {
      +                            "enum": [
      +                              "text",
      +                              "html",
      +                              "attribute"
      +                            ],
      +                            "type": "string"
      +                          },
      +                          "selector": {
      +                            "maxLength": 500,
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "selector"
      +                        ],
      +                        "type": "object"
      +                      }
      +                    ]
      +                  },
      +                  "propertyNames": {
      +                    "type": "string"
      +                  },
      +                  "type": "object"
      +                },
      +                "output": {
      +                  "enum": [
      +                    "text",
      +                    "html",
      +                    "attribute"
      +                  ],
      +                  "type": "string"
      +                },
      +                "selector": {
      +                  "maxLength": 500,
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "selector"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "description": "Used instead of `output`: turns each match into an object of named values, each read inside that match; the selector `:scope` reads the match itself. Same shape as `elements`; nests up to 3 levels",
      +        "propertyNames": {
      +          "type": "string"
      +        },
      +        "type": "object"
      +      },
      +      "output": {
      +        "description": "What to return for a match: `text` (default), `html` (the outer HTML) or `attribute`",
      +        "enum": [
      +          "text",
      +          "html",
      +          "attribute"
      +        ],
      +        "type": "string"
      +      },
      +      "selector": {
      +        "description": "CSS selector, up to 500 characters",
      +        "maxLength": 500,
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "selector"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / extract / properties / elements / description
      Previous value: -"Named values to read from the page by CSS selector, returned in the top-level `elements` field under the same names. Each value is either a selector string (the text of the first match) or an object with `selector`, `output`, `attribute` and `all`. `fields` (instead of `output`) turns each match into an object of named values read inside that match only, so a list of product cards can return a title, price and url per card. A name with no match is null, or [] with `all: true`. Read after cleanup; `<script>` and `<style>` tags are not part of it. An invalid selector is a 400. No extra credits, also when the page comes from cache. Limits and selector rules: https://crawlbrulee.com/docs/scrape/elements."New value: +"Named values to read from the page by CSS selector, returned in the top-level `elements` field under the same names. Each value is either a selector string (the text of the first match) or an object with `selector`, `output`, `attribute` and `all`. `fields` (instead of `output`) turns each match into an object of named values read inside that match (the selector `:scope` reads the match itself, for example the matched element's own href), so a list of products can return a title, price and url per product. A name with no match is null, or [] with `all: true`. Read after cleanup; `<script>` and `<style>` tags are not part of it. An invalid selector is a 400. No extra credits, also when the page comes from cache. Limits and selector rules: https://crawlbrulee.com/docs/scrape/targeted-extraction."
    • addedInput schema / properties / headers
      Added value: +{
      +  "additionalProperties": {
      +    "type": "string"
      +  },
      +  "description": "Your own HTTP headers to send to the site with the request, for example `Authorization`, an api key, or a fixed `User-Agent` that the site has on an allowlist. Sent only to the origin of `url` (same scheme, host and port), or to its https version when `url` is http, and not on a redirect to another origin. Up to 10 headers; headers and cookies together up to 16384 bytes. Values are printable ASCII, with no space or tab at either end. Headers a browser doesn't let a web page set can't be set here either (a 400 names the header). Use `cookies` for cookies and `location.locale` for the language. Never put secrets in the `User-Agent`. Your own `User-Agent` can lower the success rate, and the response carries the `custom_user_agent` warning. A `Referer` must be the full http or https url of a public page, with no username or password; it is sent the way a browser sends it after a click on that page. A request with headers or cookies never reads from or writes to the cache. On a plain http url they travel unencrypted. Header and cookie values pass through the chat with the AI, so the AI host may keep them in its history. Use short-lived tokens or a test account, and never a password you can't change. See https://crawlbrulee.com/docs/scrape/custom-headers-and-cookies.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / location / properties / locale / description
      Previous value: -"BCP-47 locale (2-35 chars, e.g. 'en-US', 'de-DE', 'pt-BR') driving Accept-Language and navigator.language"New value: +"BCP-47 locale (2-35 chars, e.g. 'en-US', 'de-DE', 'pt-BR'): the language to ask the site for"
    • changedOutput schema / properties / warnings / description
      Previous value: -"Non-error notices about the scrape. Truncation codes — `screenshot_truncated` (long page exceeded the scrolling-screenshot height cap), `links_truncated` / `inline_images_truncated` (page had more links/images than the per-page extraction caps), `raw_html_truncated` (rendered HTML exceeded the per-page size budget) — mean the field is present but capped. `elements_truncated` means at least one `elements` value hit a limit: a list was cut at 1,000 matches, the request reached 10,000 matches in total, or a value did not fit the ~1 MB of values allowed per request (that value is then null, never cut short). Unavailability codes — `links_unavailable` / `inline_images_unavailable` / `metadata_unavailable` — mean that optional field could not be extracted and was omitted (null/empty) while the rest of the scrape succeeded, so an empty field carrying one of these does NOT mean the page had none. `screenshot_unavailable` means a screenshot was asked for, but the page came back from the http engine without one. Stable string codes — clients can switch on them. Warnings are stored with the result: async result fetches and cache hits carry them too, filtered to the fields the request asked for. `metadata_truncated` is retired and no longer sent: metadata has no size limit of its own now, though the code can still appear on results stored before that change."New value: +"Non-error notices about the scrape. Truncation codes — `screenshot_truncated` (long page exceeded the scrolling-screenshot height cap), `links_truncated` / `inline_images_truncated` (page had more links/images than the per-page extraction caps), `raw_html_truncated` (rendered HTML exceeded the per-page size budget) — mean the field is present but capped. `elements_truncated` means at least one `elements` value hit a limit: a list was cut at 1,000 matches, the request reached 10,000 matches in total, or a value did not fit the ~1 MB of values allowed per request (that value is then null, never cut short). Unavailability codes — `links_unavailable` / `inline_images_unavailable` / `metadata_unavailable` — mean that optional field could not be extracted and was omitted (null/empty) while the rest of the scrape succeeded, so an empty field carrying one of these does NOT mean the page had none. `screenshot_unavailable` means a screenshot was asked for, but the page came back from the http engine without one. `custom_user_agent` means the request set its own `User-Agent` header; this can lower the success rate. Stable string codes — clients can switch on them. Warnings are stored with the result: async result fetches and cache hits carry them too, filtered to the fields the request asked for. `metadata_truncated` is retired and no longer sent: metadata has no size limit of its own now, though the code can still appear on results stored before that change."
  3. Changed5 schema fields changedv1.3.3
    • changedInput schema / properties / cache / properties / max_age / anyOf
      Previous value: -[
      -  {
      -    "maximum": 9007199254740991,
      -    "minimum": 0,
      -    "type": "integer"
      -  },
      -  {
      -    "format": "date-time",
      -    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$",
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  {
      +    "format": "date-time",
      +    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      +    "type": "string"
      +  }
      +]
    • removedOutput schema / properties / images / items / properties / alt / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / images / items / properties / alt / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / metadata / properties / favicon_url / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / metadata / properties / favicon_url / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  4. Changed14 schema fields changedv1.1.1
    • changedInput schema / properties / extract / properties / cleaned_html / description
      Previous value: -"Extract cleaned HTML (main content only)"New value: +"Extract cleaned HTML: the page body with scripts, styles, ads and cookie banners removed"
    • addedInput schema / properties / extract / properties / elements
      Added value: +{
      +  "additionalProperties": {
      +    "anyOf": [
      +      {
      +        "maxLength": 500,
      +        "type": "string"
      +      },
      +      {
      +        "additionalProperties": false,
      +        "properties": {
      +          "all": {
      +            "default": false,
      +            "description": "Return every match as a list instead of the first. Defaults to false",
      +            "type": "boolean"
      +          },
      +          "attribute": {
      +            "description": "The attribute to read when `output` is `attribute`. `href` and `src` come back as full urls",
      +            "maxLength": 100,
      +            "minLength": 1,
      +            "type": "string"
      +          },
      +          "fields": {
      +            "additionalProperties": {
      +              "anyOf": [
      +                {
      +                  "maxLength": 500,
      +                  "type": "string"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "all": {
      +                      "default": false,
      +                      "type": "boolean"
      +                    },
      +                    "attribute": {
      +                      "maxLength": 100,
      +                      "minLength": 1,
      +                      "type": "string"
      +                    },
      +                    "fields": {
      +                      "additionalProperties": {
      +                        "anyOf": [
      +                          {
      +                            "maxLength": 500,
      +                            "type": "string"
      +                          },
      +                          {
      +                            "additionalProperties": false,
      +                            "properties": {
      +                              "all": {
      +                                "default": false,
      +                                "type": "boolean"
      +                              },
      +                              "attribute": {
      +                                "maxLength": 100,
      +                                "minLength": 1,
      +                                "type": "string"
      +                              },
      +                              "fields": {
      +                                "additionalProperties": {
      +                                  "anyOf": [
      +                                    {
      +                                      "maxLength": 500,
      +                                      "type": "string"
      +                                    },
      +                                    {
      +                                      "additionalProperties": false,
      +                                      "properties": {
      +                                        "all": {
      +                                          "default": false,
      +                                          "type": "boolean"
      +                                        },
      +                                        "attribute": {
      +                                          "maxLength": 100,
      +                                          "minLength": 1,
      +                                          "type": "string"
      +                                        },
      +                                        "output": {
      +                                          "enum": [
      +                                            "text",
      +                                            "html",
      +                                            "attribute"
      +                                          ],
      +                                          "type": "string"
      +                                        },
      +                                        "selector": {
      +                                          "maxLength": 500,
      +                                          "type": "string"
      +                                        }
      +                                      },
      +                                      "required": [
      +                                        "selector"
      +                                      ],
      +                                      "type": "object"
      +                                    }
      +                                  ]
      +                                },
      +                                "propertyNames": {
      +                                  "type": "string"
      +                                },
      +                                "type": "object"
      +                              },
      +                              "output": {
      +                                "enum": [
      +                                  "text",
      +                                  "html",
      +                                  "attribute"
      +                                ],
      +                                "type": "string"
      +                              },
      +                              "selector": {
      +                                "maxLength": 500,
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "selector"
      +                            ],
      +                            "type": "object"
      +                          }
      +                        ]
      +                      },
      +                      "propertyNames": {
      +                        "type": "string"
      +                      },
      +                      "type": "object"
      +                    },
      +                    "output": {
      +                      "enum": [
      +                        "text",
      +                        "html",
      +                        "attribute"
      +                      ],
      +                      "type": "string"
      +                    },
      +                    "selector": {
      +                      "maxLength": 500,
      +                      "type": "string"
      +                    }
      +                  },
      +                  "required": [
      +                    "selector"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "description": "Used instead of `output`: turns each match into an object of named values, each read inside that match only. Same shape as `elements`; nests up to 3 levels",
      +            "propertyNames": {
      +              "type": "string"
      +            },
      +            "type": "object"
      +          },
      +          "output": {
      +            "description": "What to return for a match: `text` (default), `html` (the outer HTML) or `attribute`",
      +            "enum": [
      +              "text",
      +              "html",
      +              "attribute"
      +            ],
      +            "type": "string"
      +          },
      +          "selector": {
      +            "description": "CSS selector, up to 500 characters",
      +            "maxLength": 500,
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "selector"
      +        ],
      +        "type": "object"
      +      }
      +    ]
      +  },
      +  "description": "Named values to read from the page by CSS selector, returned in the top-level `elements` field under the same names. Each value is either a selector string (the text of the first match) or an object with `selector`, `output`, `attribute` and `all`. `fields` (instead of `output`) turns each match into an object of named values read inside that match only, so a list of product cards can return a title, price and url per card. A name with no match is null, or [] with `all: true`. Read after cleanup; `<script>` and `<style>` tags are not part of it. An invalid selector is a 400. No extra credits, also when the page comes from cache. Limits and selector rules: https://crawlbrulee.com/docs/scrape/elements.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / extract / properties / metadata / description
      Previous value: -"Extract page metadata (title, description, OG tags, etc.). Read from the page head, which is capped at 2,000,000 characters — a larger head is truncated and the response carries a `metadata_truncated` warning."New value: +"Extract page metadata (title, description, OG tags, etc.) from the page head"
    • addedInput schema / properties / zero_data_retention
      Added value: +{
      +  "description": "Keeps the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. Adds 1 credit. Must be enabled for your organization. See https://crawlbrulee.com/docs/zero-data-retention.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / elements
      Added value: +{
      +  "additionalProperties": {},
      +  "description": "The values asked for in `extract.elements`, under the same names. Each name is a string, an object (a spec with `fields`), a list of either (`all: true`), or null when nothing matched (`[]` with `all: true`). An object holds its field names with the same kinds of values, nested up to 3 levels. Every requested name is always present, at every level of `fields`.",
      +  "propertyNames": {
      +    "type": "string"
      +  },
      +  "type": "object"
      +}
    • changedOutput schema / properties / response_meta / properties / usage / description
      Previous value: -"What this request cost and why: total_credit_cost = engine_credit_cost × proxy_multiplier + screenshot_slicing_credit_cost, plus the billed engine and the resolved proxy tier."New value: +"What this request cost and why: total_credit_cost = engine_credit_cost × proxy_multiplier + screenshot_slicing_credit_cost + zero_data_retention_credit_cost, plus the billed engine and the resolved proxy tier."
    • removedOutput schema / properties / response_meta / properties / usage / properties / credits
      Removed value: -{
      -  "deprecated": true,
      -  "description": "Deprecated: use total_credit_cost, which always has the same value. This field will be removed in a future version.",
      -  "maximum": 9007199254740991,
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • removedOutput schema / properties / response_meta / properties / usage / properties / screenshot_slices
      Removed value: -{
      -  "deprecated": true,
      -  "description": "Deprecated: use screenshot_slicing_credit_cost, which always has the same value. Despite its name this is a 0/1 charge, not a count of slices. This field will be removed in a future version.",
      -  "maximum": 9007199254740991,
      -  "minimum": 0,
      -  "type": "integer"
      -}
    • changedOutput schema / properties / response_meta / properties / usage / properties / screenshot_slicing_credit_cost / description
      Previous value: -"The screenshot slicing add-on: 1 when the screenshot was split into slices on this request (a flat +1 credit outside the proxy multiplier, however many slices it made), else 0. A cache hit that reused slices that already existed costs 0. Older api versions do not send it; read `screenshot_slices` then, which has the same value."New value: +"The screenshot slicing add-on: 1 when the screenshot was split into slices on this request (a flat +1 credit outside the proxy multiplier, however many slices it made), else 0. A cache hit that reused slices that already existed costs 0. Older api versions do not send it."
    • changedOutput schema / properties / response_meta / properties / usage / properties / total_credit_cost / description
      Previous value: -"Credits charged for this request. Always equals engine_credit_cost × proxy_multiplier + screenshot_slicing_credit_cost. 0 when nothing is billed: a cache hit, or a page whose status is not billed (see page_status_code). Older api versions do not send it; read `credits` then, which has the same value."New value: +"Credits charged for this request. Always equals engine_credit_cost × proxy_multiplier + screenshot_slicing_credit_cost + zero_data_retention_credit_cost. 0 when nothing is billed: a cache hit, or a page whose status is not billed (see page_status_code). Older api versions do not send it."
    • addedOutput schema / properties / response_meta / properties / usage / properties / zero_data_retention_credit_cost
      Added value: +{
      +  "description": "Credits added by zero data retention: 1 on a billed, fresh result, else 0. Older api versions do not send it.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / screenshot / properties / slices / items / properties / url / description
      Previous value: -"URL to download this slice image"New value: +"Signed link to download this slice image. It expires 24 hours after the scrape (for an async scrape, 24 hours after you submitted it). Download the image, do not keep the link"
    • changedOutput schema / properties / screenshot / properties / url / description
      Previous value: -"URL to download the full screenshot image"New value: +"Signed link to download the full screenshot image. It expires 24 hours after the scrape (for an async scrape, 24 hours after you submitted it). Download the image, do not keep the link"
    • changedOutput schema / properties / warnings / description
      Previous value: -"Non-error notices about the scrape. Truncation codes — `screenshot_truncated` (long page exceeded the scrolling-screenshot height cap), `links_truncated` / `inline_images_truncated` (page had more links/images than the per-page extraction caps), `raw_html_truncated` / `metadata_truncated` (rendered HTML exceeded the per-page size budget) — mean the field is present but capped. Unavailability codes — `links_unavailable` / `inline_images_unavailable` / `metadata_unavailable` — mean that optional field could not be extracted and was omitted (null/empty) while the rest of the scrape succeeded, so an empty field carrying one of these does NOT mean the page had none. Stable string codes — clients can switch on them. Warnings are stored with the result: async result fetches and cache hits carry them too, filtered to the fields the request asked for."New value: +"Non-error notices about the scrape. Truncation codes — `screenshot_truncated` (long page exceeded the scrolling-screenshot height cap), `links_truncated` / `inline_images_truncated` (page had more links/images than the per-page extraction caps), `raw_html_truncated` (rendered HTML exceeded the per-page size budget) — mean the field is present but capped. `elements_truncated` means at least one `elements` value hit a limit: a list was cut at 1,000 matches, the request reached 10,000 matches in total, or a value did not fit the ~1 MB of values allowed per request (that value is then null, never cut short). Unavailability codes — `links_unavailable` / `inline_images_unavailable` / `metadata_unavailable` — mean that optional field could not be extracted and was omitted (null/empty) while the rest of the scrape succeeded, so an empty field carrying one of these does NOT mean the page had none. `screenshot_unavailable` means a screenshot was asked for, but the page came back from the http engine without one. Stable string codes — clients can switch on them. Warnings are stored with the result: async result fetches and cache hits carry them too, filtered to the fields the request asked for. `metadata_truncated` is retired and no longer sent: metadata has no size limit of its own now, though the code can still appear on results stored before that change."
  5. Changed14 schema fields changedv1.1.0
    • addedOutput schema / properties / page_status_code
      Added value: +{
      +  "description": "The HTTP status the site answered with for the final page, after redirects. Check it before you trust the content. A page the site served is a successful result whatever its status: a 404 or 503 page comes back with its content here, not as an error, so a 404 means the markdown is the site's \"not found\" page, not the page you asked for. Billing follows this status: 2xx and 4xx pages are billed, except 403, 407, 408, 429 and 451; 5xx pages are never billed. Older api versions do not send it; they only returned pages that loaded normally.",
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / response_meta / description
      Previous value: -"Request-level metadata. `response_meta.usage` reports credits charged, the billed engine, the resolved proxy tier, and any screenshot-slice add-on."New value: +"Request-level metadata. `response_meta.usage` reports what the request cost (total_credit_cost and its parts), the billed engine and the resolved proxy tier."
    • changedOutput schema / properties / response_meta / properties / usage / description
      Previous value: -"Usage accounting for this request: credits charged, billed engine, resolved proxy tier, and screenshot-slice add-on."New value: +"What this request cost and why: total_credit_cost = engine_credit_cost × proxy_multiplier + screenshot_slicing_credit_cost, plus the billed engine and the resolved proxy tier."
    • addedOutput schema / properties / response_meta / properties / usage / properties / credits / deprecated
      Added value: +true
    • changedOutput schema / properties / response_meta / properties / usage / properties / credits / description
      Previous value: -"Credits actually charged for this request. Always equals the engine base × the proxy multiplier, plus screenshot_slices. A cache hit has engine \"cache\" (base 0), so it costs only the parts we still had to compute — a newly produced screenshot-slice variant — and is otherwise free."New value: +"Deprecated: use total_credit_cost, which always has the same value. This field will be removed in a future version."
    • changedOutput schema / properties / response_meta / properties / usage / properties / engine / description
      Previous value: -"The engine base the request was billed at — \"http\" (1 credit), \"browser\" (3), \"screenshot\" (5), or \"cache\" (0, the result was served from cache) — before the proxy multiplier. Reflects what was delivered, never what was requested."New value: +"The engine the request was billed at — \"http\", \"browser\", \"screenshot\", or \"cache\" (the result was served from cache). Reflects what was delivered, never what was requested."
    • addedOutput schema / properties / response_meta / properties / usage / properties / engine_credit_cost
      Added value: +{
      +  "description": "The engine base charged, before the proxy multiplier: 1 for \"http\", 3 for \"browser\", 5 for \"screenshot\", 0 for \"cache\". Also 0 when the page is not billed (see page_status_code). Older api versions do not send it.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / response_meta / properties / usage / properties / proxy / description
      Previous value: -"The proxy tier the request actually ran on (resolved value — never `auto`; `auto` is resolved server-side to `basic` or `advanced`)."New value: +"The proxy tier the request actually ran on (resolved value — never `auto`; `auto` is resolved server-side to `basic` or `advanced`). \"advanced\" multiplies the engine base by 5."
    • addedOutput schema / properties / response_meta / properties / usage / properties / proxy_multiplier
      Added value: +{
      +  "description": "The multiplier of the proxy tier the request ran on: 1 for \"basic\", 5 for \"advanced\". Always reported, even when the engine cost is 0. Older api versions do not send it.",
      +  "exclusiveMinimum": 0,
      +  "maximum": 9007199254740991,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / response_meta / properties / usage / properties / screenshot_slices / deprecated
      Added value: +true
    • changedOutput schema / properties / response_meta / properties / usage / properties / screenshot_slices / description
      Previous value: -"Whether this request was billed the screenshot-split add-on: 1 when the screenshot was split on this request (a flat +1 credit outside the proxy multiplier, regardless of how many slices the split produced), else 0 — including a cache hit that reused an already-existing slice variant."New value: +"Deprecated: use screenshot_slicing_credit_cost, which always has the same value. Despite its name this is a 0/1 charge, not a count of slices. This field will be removed in a future version."
    • addedOutput schema / properties / response_meta / properties / usage / properties / screenshot_slicing_credit_cost
      Added value: +{
      +  "description": "The screenshot slicing add-on: 1 when the screenshot was split into slices on this request (a flat +1 credit outside the proxy multiplier, however many slices it made), else 0. A cache hit that reused slices that already existed costs 0. Older api versions do not send it; read `screenshot_slices` then, which has the same value.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / response_meta / properties / usage / properties / total_credit_cost
      Added value: +{
      +  "description": "Credits charged for this request. Always equals engine_credit_cost × proxy_multiplier + screenshot_slicing_credit_cost. 0 when nothing is billed: a cache hit, or a page whose status is not billed (see page_status_code). Older api versions do not send it; read `credits` then, which has the same value.",
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / response_meta / properties / usage / required
      Previous value: -[
      -  "credits",
      -  "engine",
      -  "proxy",
      -  "screenshot_slices"
      -]New value: +[
      +  "engine",
      +  "proxy"
      +]
  6. First observedv1.0.3

TDQS

A4.7/5.0
Behavior5/5

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

No annotations exist, so the description carries the entire burden and does: billing rules (2xx/4xx billed except 403/407/408/429/444/451, 5xx never billed), error names (`target_unreachable`, `zero_data_retention_not_enabled`, `unsupported_pdf_output`), signed links expiring in 24h, cache bypass when headers/cookies or `exclude_selectors` are used, truncation caps, and the critical warning that an omitted/empty field with a `*_unavailable` warning means failure, not empty. It even pre-empts a likely agent mistake: a 404 body is the site's not-found page, not an error.

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

Conciseness3/5

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

Front-loaded well with a strong opening sentence, but the body is a single dense block of roughly 700 words mixing billing, warnings, security guidance and link references without visual separation. Several passages — notably the headers/cookies privacy warning and the zero-data-retention explanation — restate almost verbatim what the input schema already says, so some sentences do not earn their place.

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

Completeness5/5

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

For a 10-parameter tool with nested objects, no annotations and an output schema, this covers everything an agent needs: what each output field means (`page_status_code`, `warnings`, `response_meta.usage` cost formula), which conditions produce errors versus partial results, and how to recover. Nothing about invoking it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3, but the description adds cross-parameter meaning the schema cannot express: markdown and metadata stay on unless explicitly disabled, `extract.pdf: {}` takes all defaults and bills once together with a screenshot, `color_scheme: "dark"` propagates to the PDF, and `cleanup` shapes every output except raw_html. It omits practical detail on a few params (proxy tiers, cache.max_age usage) that remain schema-only.

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

Purpose5/5

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

Opens with a specific verb and resource — "Fetch a single URL via the crawlbrulee scraping API" — and enumerates what comes back (markdown, cleaned HTML, raw HTML, links, images, screenshot, PDF, metadata). It explicitly distinguishes itself from the `map` sibling for full-site discovery, so an agent can route without opening a schema.

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

Usage Guidelines5/5

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

States the selection condition directly ("Use this for one-shot page extraction. For full-site discovery use the `map` tool first") and adds a second routing decision: use `extract.elements` instead of reading whole markdown when pulling named values. It also tells the agent when to force `require_js` and when to prefer `raw_html` because cleanup never touches it.

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