regexforge_synth
Synthesize a battle-tested regex from labeled examples. Input: optional natural-language description + 20 examples (10 positive, 10 negative, or any mix of ≥4). Output: regex + flags + test matrix proving every example is handled correctly + backtracking-risk analysis. Deterministic; no LLM at serve time.
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": {
"examples": "<examples>"
},
"name": "regexforge_synth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| examples | Yes | ||
| description | No | Optional natural-language description, used only for tie-breaking. |