✓ SAFE: Export schema as SQL or JSON. Includes tables, indexes, views, triggers. SQL for recreation, JSON for analysis.
export_schemaExport a database's schema as SQL for recreation or JSON for analysis, including all tables, indexes, views, and triggers.
Instructions
✓ SAFE: Export schema as SQL or JSON. Includes tables, indexes, views, triggers. SQL for recreation, JSON for analysis.
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": "export_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | sql | |
| tables | No | ||
| database_name | No |