ecp_postgres_export_database
Export a Postgres database as a .sql dump text, providing a quick snapshot for backup or migration.
Instructions
Export a Postgres database as a .sql dump (returned as text - large databases will produce a large result, consider ecp_postgres_backup_to_storage_bd instead for anything beyond a quick look).
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>"
},
"name": "ecp_postgres_export_database"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db_name | Yes |