show_create_view
Retrieve the CREATE VIEW statement for a MySQL view to inspect its definition and dependencies, optionally specifying a database.
Instructions
Shows the CREATE statement for a view.
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": {
"view_name": "<view_name>"
},
"name": "show_create_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: specific database name | |
| view_name | Yes | Name of the view |