Describe view
describe_viewInspect a view's columns, data types, and SQL definition to reveal its structure and underlying query logic.
Instructions
Get column names/types for a view, plus its SQL definition (CREATE VIEW body).
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": {
"schema": "<schema>",
"view": "<view>"
},
"name": "describe_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | Yes | View name | |
| schema | Yes | Schema name, e.g. 'dbo' |