regex_generate
Converts natural language descriptions into regex patterns. Supports common patterns like email, URL, IP, phone, date, UUID, and more.
Instructions
Generate a regex pattern from a natural language description. Supports common patterns like email, URL, IP, phone, date, UUID, and more.
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": "regex_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | Yes | Describe what you want to match, e.g. 'email address' or 'date in YYYY-MM-DD format' |