string_substring
Extract a substring from any text by specifying start index and optional end index.
Instructions
Extract a substring
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>"
},
"name": "string_substring"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The text to extract a substring from | |
| start | No | Starting index (inclusive) | |
| end | No | Ending index (exclusive, optional) |