extract_schema
Extract specific structured fields from a webpage by mapping keys to CSS selectors, turning page content into targeted data.
Instructions
Extract specific structured fields from a webpage using a key-to-CSS-selector dictionary map.
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>",
"schema": "<schema>"
},
"name": "extract_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| schema | Yes | ||
| use_browser | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |