tinplate_regex_safety
Regex ReDoS Vulnerability Scanner & Pattern Explainer API: Audit regular expressions for O(2^n) ReDoS backtracking, explain patterns, and test matches. (Endpoint: POST /v1/regex-safety)
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>",
"flags": "<flags>"
},
"name": "tinplate_regex_safety"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | Yes | Parameter 'flags' (e.g. "i") | |
| pattern | Yes | Parameter 'pattern' (e.g. "^([a-zA-Z0-9_]+)+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$") | |
| test_strings | No | Array parameter 'test_strings' |