List tables
list_tablesLists tables and views in the connected PostgreSQL database, optionally filtered by schema, to help discover available data structures before running read-only queries.
Instructions
List tables and views in the connected postgres database.
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 | Schema/database name. Defaults to the current one. |