Generate web page markdown
web_markdown_generateConvert a web page URL into clean markdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Web page URL to fetch. | |
| query | No | Optional query string used by the bm25 filter to rank relevant content. | |
| filter | No | Markdown extraction filter. `fit`: strip boilerplate and extract the main readable content. `raw`: full unfiltered page markdown, no content pruning. `bm25`: rank and return only the content most relevant to `query`, using the BM25 keyword-relevance algorithm — requires `query` to be set. | fit |
| waitFor | No | Wait for a CSS selector before extraction. Must be prefixed with "css:" (e.g. css:main). JavaScript wait conditions are not supported. | |
| cacheMode | No | Cache behavior. `enabled`: read from cache if present, else fetch and write to cache. `bypass`: always fetch fresh, ignoring and not updating the cache. `write_only`: always fetch fresh, but write the result to cache without reading from it first. Default: `enabled`. | enabled |
| scanFullPage | No | When true, scroll the page to load dynamically appended content (infinite scroll). Default false. |