## web_crawl()


Follow a website's links and extract multiple pages using the Extract API.


Usage

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


The agent supplies a single URL. Set `max_pages` (1 to 100, default 10) and `max_depth` (0 to 3, default 2) in `default_params`. Each successful page costs one search credit, including the starting page. Markdown returns the API body. Compact JSON keeps page URLs, depths, Markdown, and per-page errors. Full JSON returns the entire API payload.
