Connect a client
Read table columns
Read column names, types and key information for a PostgreSQL table.
Arguments
| Name | Type | Required | Limits |
|---|---|---|---|
schema | string | No | See schema |
projectId | string | Yes | At least 1 character(s) |
databaseId | string | Yes | At least 1 character(s) |
table | string | Yes | At least 1 character(s) |
Full input schema
{
"type": "object",
"properties": {
"schema": {
"type": "string"
},
"projectId": {
"type": "string",
"minLength": 1
},
"databaseId": {
"type": "string",
"minLength": 1
},
"table": {
"type": "string",
"minLength": 1
}
},
"required": [
"projectId",
"databaseId",
"table"
],
"additionalProperties": false
}Example call
The params of a tools/call request. Replace the placeholder values with your own IDs.
{
"name": "getDatabaseTableSchema",
"arguments": {
"projectId": "REPLACE_WITH_PROJECT_ID",
"databaseId": "REPLACE_WITH_DATABASE_ID",
"table": "REPLACE_WITH_TABLE"
}
} Result
The same data as the API operation, wrapped as {"untrusted_data": true, "source": "getDatabaseTableSchema", "note": "...", "data": ...} so the model treats project content as data, not instructions.