string_escape
Escape or unescape strings for JSON, CSV, regex, SQL, or shell. Use it to format text correctly and avoid errors in your target context.
Instructions
[PRO — 3 trial uses left] Escape or unescape strings for various contexts: JSON, CSV, regex, SQL, or shell
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>",
"format": "<format>"
},
"name": "string_escape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to escape or unescape | |
| action | No | Action: escape or unescape (default: escape) | |
| format | Yes | Target format to escape for |