ecp_postgres_truncate_table
Clear all rows from a PostgreSQL table by providing database and table names. Requires explicit confirmation to prevent accidental data loss.
Instructions
Delete all rows from a table. Irreversible.
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": {
"db_name": "<db_name>",
"table_name": "<table_name>",
"confirm": "<confirm>"
},
"name": "ecp_postgres_truncate_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| db_name | Yes | ||
| table_name | Yes |