ai_regex
AI regex generator — Turn a plain-English description into a regular expression with flags, explanation and matching examples; JavaScript patterns are compile-checked. Pass ?description= and optional ?flavor=. Price: $0.006 USDC (Base, via x402).
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": {
"description": "<description>"
},
"name": "ai_regex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flavor | No | optional, default javascript | |
| description | Yes | what the pattern should match |