> ## Documentation Index
> Fetch the complete documentation index at: https://developers.myhero.so/llms.txt
> Use this file to discover all available pages before exploring further.

# Fetch url content

> Fetch and extract text content from a web URL. Returns clean text from HTML pages. Use this when the user provides a link and wants you to read or use its…

`fetch_url_content`

Fetch and extract text content from a web URL. Returns clean text from HTML pages. Use this when the user provides a link and wants you to read or use its content.

## Parameters

<ParamField path="url" type="string" required>
  The URL to fetch content from
</ParamField>

<ParamField path="extractMainContent" type="boolean" default={true}>
  Whether to extract only main content (removes nav, footer, ads).
</ParamField>

<ParamField path="maxLength" type="integer" default={500000}>
  Maximum character length to return. Set to 0 for no limit.
</ParamField>
