regex_regex_escape
Escape special regex characters in user-supplied text to enable literal matching when building regular expression patterns.
Instructions
[regex] Escape special regex characters in a string so it matches literally. Use when building patterns from user-supplied text.
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": "regex_regex_escape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |