dompruner_fetch
Fetch a URL and get DOM-refined compact Markdown, reducing token usage by over 90% for efficient web content retrieval.
Instructions
DEFAULT tool for retrieving web content. Fetches a URL directly and returns DOM-refined compact Markdown with 90%+ token reduction. Always prefer this over dompruner_search when the URL is known or can be inferred (e.g. official docs, changelogs, blog posts, API references). Equivalent to WebFetch but with DomPruner token reduction applied.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to fetch and refine. Required unless query is provided. | |
| query | No | Search intent (e.g. "Java JVM release notes"). When url is omitted, DomPruner requests a URL from the host LLM via sampling (if supported), then fetches it. Also enables BM25 section filtering when url is provided. |