delete_statement
Delete a statement (import, variable, ref) from a file by its UUID. Permanently removes the specified statement to clean up code.
Instructions
Delete a statement from a file by UUID. This permanently removes the statement (import, variable, ref, etc.).
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": {
"file": "<file>",
"method": "<method>",
"uuid": "<uuid>"
},
"name": "delete_statement"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | UUID of the file containing the statement | |
| method | Yes | UUID of the method containing the statement (use "file" for file-level statements) | |
| uuid | Yes | UUID of the statement to delete |