escape_html
Escape or unescape HTML entities for safe text rendering. Prevents XSS by converting special chars to entities or decoding them back.
Instructions
Escape or unescape HTML entities
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": "escape_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to escape or unescape | |
| action | No | Action: escape or unescape (default: escape) |