list_tables
Retrieve all tables from a PostgreSQL schema to understand database structure. Specify a schema name to view its tables and their types.
Instructions
List all tables in a specific schema.
Args:
schema: Schema name to list tables from (default: public)
Returns:
List of tables with name and 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": "list_tables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | public |