read_html
Extract and analyze HTML file content with configurable modes, including token-efficient plain text extraction and progressive reading for large files.
Instructions
Read/analyze existing HTML file. Use mode='text' for token-efficient plain text extraction with offset/limit progressive reading.
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": {
"file_path": "<file_path>",
"mode": "<mode>"
},
"name": "read_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| limit | No | Max characters to return (text mode, default 4000) | |
| offset | No | Character offset for progressive reading (text mode) | |
| file_path | Yes |