extract_page
Extract structured data from ONE page. fields declares your own
schema, e.g. ["title", "salary:number", "tags:list"]; omit it for the
product schema. First call on a new site compiles a recipe (300
credits); later calls replay it for 1 credit per row.
A site nobody could read is remembered for a week and answered
without calling the model, so re-reading a dead page costs nothing.
`retry` asks anyway.
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_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| js | No | ||
| url | Yes | ||
| retry | No | ||
| fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||