extract_json_schema
Extract schema-constrained JSON data from any webpage using Gemini AI. Provide a URL and schema description to get clean, structured attributes like pricing or specs.
Instructions
Extracts schema-constrained structured JSON data from any webpage using Gemini AI (0.030 USDC).
Usage Guidelines:
Use when an agent needs structured attributes (e.g. pricing, specs, event dates) directly from a URL.
Returns: Clean JSON dictionary matching the requested schema description.
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_description": "<schema_description>"
},
"name": "extract_json_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target webpage URL to extract JSON from. | |
| auth_token_or_tx | No | Optional x402 auth token or tx hash. | |
| schema_description | Yes | Description or format of the fields to extract (e.g., 'price, product_name, in_stock'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |