ai.extract
Fetch any URL and extract structured data that matches your JSON Schema. Define the output shape, get typed results back, and use optional guidance for precise extraction.
Instructions
Fetch a URL and extract typed data from its content per a user-supplied JSON Schema. Use when you need a structured payload conforming to your own shape.
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": "ai.extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| schema | Yes | JSON Schema describing the desired output. | |
| instruction | No | Optional extraction guidance. |