getTable
Retrieve table metadata including columns, indexes, and constraints from a specified schema. Optionally filter by table name or return only table names.
Instructions
Get table(s).
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>"
},
"name": "getTable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | Yes | Schema name | |
| table | No | Table name | |
| namesOnly | No | Return only table names (omit columns, indexes, constraints, and other details). |