regex_build_pattern
Turn natural language descriptions into functional regex patterns. Specify the regex flavor and optional flags to generate a pattern that matches your intended text.
Instructions
Build a regular expression pattern from a natural language description
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>",
"flavor": "<flavor>"
},
"name": "regex_build_pattern"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flags | No | Regex flags to apply | |
| flavor | Yes | Regex flavor/engine | |
| api_key | No | API key for authentication | |
| description | Yes | Natural language description of what the regex should match |