replace_range
Replace specific character ranges in text by providing exact start and end positions with new content for precise string manipulation.
Instructions
Replace characters in range [start, end) with new 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": {
"text": "<text>",
"start": "<start>",
"end": "<end>",
"replacement": "<replacement>"
},
"name": "replace_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| start | Yes | ||
| end | Yes | ||
| replacement | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |