Extract structured data
extractExtract structured data from any URL using a custom schema or a ready-made preset, or rely on defaults. Returns clean, field-level results tailored to your extraction needs.
Instructions
Extract structured data from a URL, with an extraction schema or a preset (or neither, for the defaults).
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>"
},
"name": "extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| preset | No | ||
| dry_run | No | Not supported here: leave it out and use the estimate tool to price a call. | |
| options | No | Other API fields for this operation, merged into the request body as they are (see the Clawifi API docs). | |
| timeout_seconds | No | ||
| extraction_schema | No | Fields to extract: {name: {type, selector, ...}}; sent as the API's schema. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||