find_all_substring_indices
Locate every occurrence of a substring within text, including overlapping matches, to identify all starting positions for precise text analysis.
Instructions
Find all starting indices where a substring appears (includes overlaps).
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>",
"substring": "<substring>"
},
"name": "find_all_substring_indices"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| substring | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |