delete_content
Deletes specified content between start and end positions in a document, requiring exact expected content verification to prevent unintended edits.
Instructions
Delete content between positions (requires content verification for safety)
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": {
"workspace": "<workspace>",
"documentId": "<documentId>",
"startPos": "<startPos>",
"endPos": "<endPos>",
"expectedContent": "<expectedContent>"
},
"name": "delete_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endPos | Yes | End position of content to delete | |
| startPos | Yes | Start position of content to delete | |
| workspace | Yes | ||
| documentId | Yes | ||
| expectedContent | Yes | The exact content expected at these positions (required for safety verification) |