get_schema
Retrieve a compact overview of all tables, columns, and foreign-key relationships in an entire database in one call to support Text-to-SQL querying.
Instructions
Get a compact overview of an entire database in one call: all tables, their columns, and foreign-key relationships. PREFER THIS as your first call after picking a connection — it is cached and token-efficient. Only use describe_table to zoom into one table when this overview is too large.
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": {
"connection": "<connection>"
},
"name": "get_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connection | Yes | Named connection from list_connections (preferred) or a raw connection string. |