postgres-list-tables

The “postgres-list-tables” tool lists schema information for all or specified tables in a Postgres database.

About

The postgres-list-tables tool retrieves schema information for all or specified tables in a Postgres database. It’s compatible with any of the following sources:

postgres-list-tables lists detailed schema information (object type, columns, constraints, indexes, triggers, owner, comment) as JSON for user-created tables (ordinary or partitioned). The tool takes the following input parameters: * table_names (optional): Filters by a comma-separated list of names. By default, it lists all tables in user schemas.* output_format (optional): Indicate the output format of table schema. simple will return only the table names, detailed will return the full table information. Default: detailed.

Example

tools:  postgres_list_tables:  kind: postgres-list-tables  source: postgres-source  description: Use this tool to retrieve schema information for all or  specified tables. Output format can be simple (only table names) or detailed. 

Reference

fieldtyperequireddescription
kindstringtrueMust be “postgres-list-tables”.
sourcestringtrueName of the source the SQL should execute on.
descriptionstringtrueDescription of the tool that is passed to the agent.
Last modified December 19, 2025: chore(main): release 0.24.0 (#2162) (f520b4e)