Scrape a URL
scrapeFetch a URL and return structured content in markdown or other formats; add a query to get only the top passages that answer it.
Instructions
Scrape a URL with source-aware routing and return structured content. formats defaults to ["markdown"]. With query, markdown and text are only the top_k passages that answer it.
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": "scrape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| mode | No | ||
| query | No | ||
| top_k | No | ||
| dry_run | No | Not supported here: leave it out and use the estimate tool to price a call. | |
| formats | No | ||
| options | No | Other API fields for this operation, merged into the request body as they are (see the Clawifi API docs). | |
| target_selector | No | ||
| timeout_seconds | No | ||
| wait_for_selector | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||