tool_regex_workshop
Read-only
Test regular expressions with live highlighting, capture groups and replace previews.
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": {
"pattern": "<pattern>"
},
"name": "tool_regex_workshop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to test. Longer text is allowed for simple patterns only (see guard). | |
| flags | No | Any of d g i m s u v y. | g |
| pattern | Yes | Regex source without slashes, for example (\d+)-(\w+). | |
| replacement | No | Replacement string with $1, $<name> and $& tokens. Optional. |