ecp_postgres_import_database
Replace an existing Postgres database's content by importing a full SQL dump. Irreversible operation; provide the complete SQL text to overwrite the database.
Instructions
Import a .sql dump into an existing Postgres database, overwriting its content. Irreversible - pass the full SQL as text.
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>",
"sql_content": "<sql_content>",
"confirm": "<confirm>"
},
"name": "ecp_postgres_import_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| db_name | Yes | ||
| sql_content | Yes |