extract_structured
Extract structured JSON data from web pages by providing a schema. Optionally use an LLM to match the schema from page content.
Instructions
Extract JSON matching a caller-supplied schema through an optional OpenAI-compatible LLM.
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_structured"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| schema | Yes | ||
| instruction | No | Extract the requested fields accurately. | |
| render_mode | No | auto | |
| max_source_chars | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||