extract_data
Extract structured data from web pages using a JSON Schema. Specify the fields you need—like price, title, or date—to get exactly the data you want.
Instructions
基于 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": {
"url": "<url>",
"schema": "<schema>"
},
"name": "extract_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| schema | Yes | ||
| strategy | No | auto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||