describe_table
Examine table structure with column types and descriptions using a Hasura GraphQL MCP Server. Input table name and optional schema to retrieve details.
Instructions
Shows the structure of a table including all columns with their types and descriptions
Input Schema
Name | Required | Description | Default |
---|---|---|---|
schemaName | No | Optional. The database schema name, defaults to 'public' | public |
tableName | Yes | The exact name of the table to describe |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"schemaName": {
"default": "public",
"description": "Optional. The database schema name, defaults to 'public'",
"type": "string"
},
"tableName": {
"description": "The exact name of the table to describe",
"type": "string"
}
},
"required": [
"tableName"
],
"type": "object"
}