describe_view
Retrieve detailed information about a SQL Server view, including its definition and dependencies, using a connection string or named connection. Ideal for database exploration and analysis.
Instructions
Get detailed information about a specific view including its definition and dependencies
Input Schema
Name | Required | Description | Default |
---|---|---|---|
connectionName | No | Named connection to use (e.g., 'production', 'staging') | |
connectionString | No | SQL Server connection string (uses default if not provided) | |
includeDefinition | No | Include the view definition (default: true) | |
schema | No | Schema name (default: dbo) | |
viewName | Yes | Name of the view to describe |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"connectionName": {
"description": "Named connection to use (e.g., 'production', 'staging')",
"type": "string"
},
"connectionString": {
"description": "SQL Server connection string (uses default if not provided)",
"type": "string"
},
"includeDefinition": {
"description": "Include the view definition (default: true)",
"type": "boolean"
},
"schema": {
"description": "Schema name (default: dbo)",
"type": "string"
},
"viewName": {
"description": "Name of the view to describe",
"type": "string"
}
},
"required": [
"viewName"
],
"type": "object"
}