get_view_definition
Retrieve the CREATE VIEW statement for a view in SQL Server by specifying the database and view name.
Instructions
Get the CREATE VIEW 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": "<view>"
},
"name": "get_view_definition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Database name | |
| view | Yes | View name (can include schema) |