wp_db_export
Export WordPress database to an SQL file for backup or migration using WP-CLI commands.
Instructions
Export database to SQL file
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "wp_db_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | No | Output filename |