Describe a table
tables_describeColumns, primary key, foreign keys, indexes, row level security and policies of one table. Scope: database:read.
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": {
"table": "<table>"
},
"name": "tables_describe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| branch | No | Branch id, e.g. `pr-42`. Default `production`. | |
| schema | No | Schema, default `public` | |
| project_id | No | Project id, e.g. `todo-app`. Default: the last one used, or your only one. | |
| organization_id | No | Organization id, e.g. `acme`. Default: the token's. |