regex_extract
regex_extractExtract text segments matching a regular expression pattern from input text to isolate specific data or patterns for analysis and processing.
Instructions
Extract matches using a regex pattern
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": {
"text": "<text>",
"pattern": "<pattern>"
},
"name": "regex_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| pattern | Yes | ||
| flags | No |