extract
Convert a webpage URL and natural-language request into structured JSON data.
Instructions
Extract structured data from a URL using a natural language prompt. Describe what you want to extract and the API returns it as structured JSON.
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>",
"prompt": "<prompt>"
},
"name": "extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to extract data from | |
| prompt | Yes | Natural language description of what to extract, e.g. "Extract all product names and prices" | |
| timeout | No | Timeout in seconds (default: 60) |