faucet_delete
Delete records from a database table that match a required filter expression to prevent accidental full-table deletes. Returns the number of deleted records.
Instructions
Delete records from a database table that match a filter expression. A filter is required to prevent accidental full-table deletes. Returns the number of deleted records. Requires DELETE permission on the table.
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": {
"service": "<service>",
"table": "<table>",
"filter": "<filter>"
},
"name": "faucet_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Name of the table to delete from | |
| filter | Yes | Filter expression to select records to delete (e.g. "status = 'expired'") | |
| service | Yes | Name of the database service |