Extract Page Content
extractExtract a public URL and return its content as plain text, markdown or HTML using Desearch. Markdown keeps headings, lists and tables. Text is the page's main content; set full_page for every section, such as opening hours or fee tables. A js_required error means the page needs js: true; blocked means the site refused or showed a bot check. Preferred over web-crawl for new integrations. API docs: https://www.desearch.ai/docs/api-reference/get-web-extract
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"url": "<url>"
},
"name": "extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| js | No | Render JavaScript before reading the page. | |
| url | Yes | Public URL to read, example: 'https://desearch.ai' | |
| wait | No | Post-load wait in milliseconds when JavaScript rendering is enabled. | |
| format | No | Content format to return: 'text' (default), 'markdown' (headings, lists, tables and code) or 'html'. | |
| full_page | No | Only with format 'text': return all visible text of the page (every section, table and notice) instead of only its main content. |