get_view_info
Retrieve detailed metadata for a MySQL view, including its columns and SQL definition, to inspect structure and understand how the view is built. Specify an optional database when needed.
Instructions
Gets detailed information about a specific view including columns and definition.
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": "get_view_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Optional: specific database name | |
| view_name | Yes | Name of the view |