regex_test
Test a regular expression against sample text and return every match, capture group and index. Pure CPU, instant. Use to debug a pattern before shipping it.
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>"
},
"name": "regex_test"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to test against | |
| flags | No | Flags such as gims | |
| pattern | Yes | Regular expression |