get_database_schema
Retrieve tables and columns for a specified database. Optionally filter to specific tables or return only table names.
Instructions
Get tables and columns for a database
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": {
"database_id": "<database_id>"
},
"name": "get_database_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_id | Yes | Database ID | |
| detail | No | Level of detail. "tables_only" returns table names without columns | |
| format | No | Response format (default: compact). Use "default" for pretty-printed output | |
| tables | No | Filter to specific table names |