developer_regex_tester
Test regular expressions against strings and retrieve details on matches and capture groups.
Instructions
Test a regular expression against a string and return details about matches and capture groups.
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": {
"regex": "<regex>",
"text": "<text>"
},
"name": "developer_regex_tester"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The string to test against the regex. | |
| flags | No | Regex flags (e.g. 'g', 'i', 'm'). Defaults to 'g'. | g |
| regex | Yes | The regular expression pattern (without wrapping slashes). |