find_all_matches
Find all matches of a pattern in text.
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": "find_all_matches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to search | |
| flags | No | Flags: i=ignore case, m=multiline, s=dotall | |
| pattern | Yes | Regular expression pattern |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| count | No | ||
| error | No | ||
| matches | No | ||
| pattern | Yes | ||
| valid_pattern | No |