test_regex
Regex tester
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>",
"text": "<text>"
},
"name": "test_regex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to process, plain UTF-8, for example: The quick brown fox. | |
| flags | No | Regex flags, for example gi. Allowed: g i m s u y. | |
| pattern | Yes | Regular expression source without slashes, for example ^\d{3}-\d{4}$. |