encode_html_entities
Converts special characters to HTML entities or decodes entities back to plain text for safe web display.
Instructions
Extended HTML entity encoding/decoding
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>",
"operation": "<operation>"
},
"name": "encode_html_entities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to encode or decode | |
| operation | Yes | Operation to perform |