html_html_select
Extract text content from HTML elements by specifying a tag name and optional attributes. Useful for parsing and scraping structured data from web pages.
Instructions
[html] Find elements by tag name and optional attrs, return text content. E.g. html_select(html, 'span', {'class': 'price'}).
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>",
"tag": "<tag>"
},
"name": "html_html_select"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | ||
| tag | Yes | ||
| attrs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |