extract
Turn any webpage's content into structured JSON by describing the desired shape. Set a navigation goal to browse to a page first, or use the current page.
Instructions
Get structured JSON from a page. With goal, browses there first; without it, extracts from the current page. Describe the shape in schema, e.g. '{plans:[{name, monthly_price, yearly_price}]}'.
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": {
"schema": "<schema>"
},
"name": "extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| goal | No | Navigation goal before extracting; omit to use the current page. | |
| schema | Yes | Plain-English or JSON-like description of the object you want. |