get_html
Retrieve the inner HTML of the first matching element on a web page. Optionally provide a CSS or XPath selector; defaults to the page's body.
Instructions
Return the inner HTML of the first matching element. Defaults to when no selector is provided.
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": "get_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | Optional CSS or XPath selector (default: body). |