get-table-schema
Retrieve detailed table schema including RLS policies, indexes, and constraints to understand database structure and implement secure data access.
Instructions
Returns the detailed schema(including RLS, indexes, constraints, etc.) of a specific table
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": {
"tableName": "<tableName>"
},
"name": "get-table-schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apiKey | No | API key for authentication (optional if provided via --api_key) | |
| tableName | Yes | Name of the table |