Skip to main content

web_map()

Discover a website’s URLs using the Extract API’s map operation.

Usage

Source

web_map(
    *,
    provider="auto",
    include_examples=True,
    api_key=None,
    client=None,
    default_params=None,
    timeout=None,
    mode=SearchResultMode.COMPACT,
    response_format=SearchResultFormat.MARKDOWN,
    name="web_map"
)

The agent supplies a single URL. Set include_sitemap and include_subdomains in default_params to control discovery. Markdown returns the API’s link list. Compact JSON keeps the URL, title, and source of each link. Full JSON returns the entire API payload.