parse_html
Extract specific elements from HTML content using CSS selectors for precise data retrieval.
Instructions
Parse HTML and extract elements using CSS selector.
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": {
"html": "<html>",
"selector": "<selector>"
},
"name": "parse_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML content to parse | |
| selector | Yes | CSS selector to find elements |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |