browser_get_html
Extract HTML content from web pages or specific elements using CSS selectors. Retrieve full page HTML or targeted element content for web scraping and analysis.
Instructions
Get HTML content from the page or a specific element.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "browser_get_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | CSS selector to get HTML from specific element. If not provided, gets full page HTML. | |
| outer | No | Whether to include the element itself (outer) or just its contents (inner) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |