regex_split
regex_splitSplit text into segments using regular expression patterns for precise text processing and data extraction tasks.
Instructions
Split text 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_split"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| pattern | Yes | ||
| flags | No |