get_schema
Retrieve the cached schema of a database connection, including tables, columns, and relationships. Use this before writing SQL to avoid discovery queries.
Instructions
Get the cached schema (tables, columns, relationships) of a database connection. Call this once before writing SQL — no discovery queries needed.
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": {
"connectionId": "<connectionId>"
},
"name": "get_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | Yes | Connection id from list_connections |