Escape Regex Literal
escape_regexEscape a string to use it as a literal inside a regular expression, preventing special characters from being interpreted as syntax.
Instructions
Escape a string so it can be used as a literal inside a regular expression.
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_regex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |