html_strip
Removes HTML tags and decodes entities to convert raw HTML into plain text, optionally preserving line breaks from block elements.
Instructions
Strip HTML tags and decode entities to plain text.
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>"
},
"name": "html_strip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | HTML text to strip. | |
| preserve_line_breaks | No | Keep line breaks from block elements (default true). |