extract
Retrieve structured data from web pages using CSS, XPath, JSON, regex, cosine, or LLM strategies. Supply URLs and parameters to get the targeted content.
Instructions
Use a named pinned extraction strategy: css, xpath, json_css, json_xpath, regex, cosine, or 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": {
"urls": "<urls>",
"strategy": "<strategy>",
"strategy_params": "<strategy_params>"
},
"name": "extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ||
| strategy | Yes | ||
| browser_config | No | ||
| crawler_config | No | ||
| strategy_params | Yes |