Back to Genai Toolbox

postgres-list-installed-extensions

docs/en/integrations/postgres/tools/postgres-list-installed-extensions.md

1.1.01.1 KB
Original Source

About

The postgres-list-installed-extensions tool retrieves all PostgreSQL extensions installed on a Postgres database.

postgres-list-installed-extensions lists all installed PostgreSQL extensions (extension name, version, schema, owner, description) as JSON. The does not support any input parameter.

Compatible Sources

{{< compatible-sources others="integrations/alloydb, integrations/cloud-sql-pg">}}

Example

yaml
kind: tool
name: list_installed_extensions
type: postgres-list-installed-extensions
source: postgres-source
description: List all installed PostgreSQL extensions with their name, version, schema, owner, and description.

Reference

fieldtyperequireddescription
typestringtrueMust be "postgres-list-active-queries".
sourcestringtrueName of the source the SQL should execute on.
descriptionstringtrueDescription of the tool that is passed to the LLM.