web_extract
Extract compact structured JSON from target URLs using named recipes or ad-hoc CSS, HTML-table, JS-variable, JSONPath, regex, form, or Markdown queries.
Instructions
Run a named declarative recipe extractor or an ad-hoc CSS/HTML-table/JS-var/JSONPath/regex/form/markdown extractor returning compact structured JSON.
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": "web_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Target HTTP/HTTPS URL. | |
| path | No | Optional path overriding the extractor or URL path. | |
| query | No | Extractor query (CSS selector, JS var name, JSONPath, regex, etc.). | |
| schema | No | Optional fail-closed output validation schema. | |
| ext_type | No | Ad-hoc extractor type when extractor_name is not provided. | |
| recipe_name | No | Recipe name when using a named extractor. | |
| extractor_name | No | Named extractor defined in the active or specified recipe. |