list_tables
Retrieve all readable tables, views, and foreign tables within a PostgreSQL database. Specify a schema to filter results and inspect the database structure.
Instructions
Tables, views and foreign tables the role can read, with row estimates and comments. At most 200; pass schema to narrow.
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 | Only list objects in this schema; omit it to list every schema. |