regex
regexTest/replace regex patterns (200 sats/call; free tier 100 calls/mo)
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": "regex"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Input text to search against. | |
| flags | No | Flags like "g", "i", "m" (default "g"). | |
| pattern | Yes | Regex pattern string without slashes. | |
| replacement | No | Optional replacement text string. |