db_get_tables
List tables and views in a database, with optional filters by schema and object type to locate database objects quickly.
Instructions
List all tables and views in the database. Can filter by schema name and object type.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "db_get_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | Filter by object type: table, view, or all | all |
| schemaName | No | Filter by specific schema name (e.g., public for PostgreSQL) |