util_escape
Escape / unescape for 15 contexts — Escape (mode=encode, default) or unescape (mode=decode) text= for every context an agent pastes strings into: html, html_attr (OWASP attribute encoding), xml (strips XML-illegal control chars), url (strict RFC 3986), url_form (+ for spaces), uri, json, js (single-quoted literal, script-safe), shell (POSIX quoting), powershell, sql (ANSI literal, backslash/NUL warnings), sql_like (% _ escaping), csv (RFC 4180 + formula-injection flag and excel_safe variant), regex, markdown. to= limits contexts (comma list). Decode handles named/numeric HTML entities, percent-encoded UTF-8 (malformed counted), JSON and JS escapes incl. u{...} code points, POSIX shell words incl. $'...', SQL/CSV quote doubling, and auto-detects multi-layer URL/HTML encoding (double_encoded flag, fully_decoded). Offline, max 20,000 chars. Price: $0.001 USDC (Base, via x402).
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": "util_escape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | O'Brien & <Sons> |