delete
Remove rows from a MySQL table that match a specified WHERE condition, enabling targeted cleanup without dropping the table.
Instructions
Delete rows from a table based on a condition
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": {
"tableName": "<tableName>",
"condition": "<condition>"
},
"name": "delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | WHERE clause condition | |
| tableName | Yes | Name of the table |