scrape
Fetch a known web page and return its main text as ordered blocks; optionally filter blocks to a specific goal without following links.
Instructions
Fetch one known page and return its text as blocks, optionally pruned to a goal.
Without goal: every block of the page that survives the free filters (navigation,
footers and repeated boilerplate removed), in page order, with no decision-model call.
With goal: only the blocks that help answer it (blocks) plus borderline ones
(uncertain); links are not followed.
Returns the same shape as crawl (blocks, uncertain, pages, stats), or
{"error": code, "message": ...}. Text is verbatim with char_start/char_end offsets.
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 | ||
| goal | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||