v33

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-2972102177.5 KB
Tools

Get Webpage Content

Retrieve the rendered content of a webpage, optionally formatted as Markdown or HTML.

post/v1/tools/fetch-webpage

Query parameters

sessionIdstring

An optional browser session identifier to reference an existing running browser session. If provided, the tool will execute within that browser session.

Request body

urlstring

The URL of the webpage to fetch content from. When left empty, the current webpage is used.

format'html' | 'markdown'

The output format of the content.

waitinteger

The time to wait for dynamic content to load in milliseconds.

new_pageboolean

Whether to create a new page for the content.

page_indexinteger

The index of the page to fetch content from. Overides new_page.

return_partial_on_timeoutboolean

Whether to return partial content if the content is not loaded within the 20 seconds.

Response

The fetched webpage content in the specified format.