html_entities
Escape text to HTML entities or decode entities back to plain text and Unicode. Pure CPU, instant. Use to sanitise output or read scraped 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": {
"text": "<text>"
},
"name": "html_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to escape or unescape | |
| decode | No | Decode entities |