regex_test_cases
Generate comprehensive regex test cases including edge cases to validate patterns for emails, URLs, phones, and more.
Instructions
Generate comprehensive test cases for a regex pattern including edge cases (Pro)
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>",
"context": "<context>"
},
"name": "regex_test_cases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of test cases to generate | |
| api_key | No | API key for authentication | |
| context | Yes | What the pattern is intended to match (e.g. email, URL, phone) | |
| pattern | Yes | The regex pattern to test |