insert_at_index
Insert text at a specific character position in a string without replacing existing content. Supports positive and negative indices for precise string manipulation.
Instructions
Insert text at index position without replacing. Supports negative indices.
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>",
"index": "<index>",
"insertion": "<insertion>"
},
"name": "insert_at_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| index | Yes | ||
| insertion | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |