extract_with_schema
Extract structured data from URLs by defining a JSON schema, with optional prompt instructions for tailored extraction.
Instructions
Extract structured data using a JSON schema
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": {
"urls": "<urls>",
"schema": "<schema>"
},
"name": "extract_with_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | URLs to extract data from | |
| prompt | No | Optional instructions for extraction | |
| schema | Yes | JSON schema defining the data structure to extract |