FruxonDocs

PostgreSQL

PostgreSQL database integration for querying, inserting, updating, and deleting data

The PostgreSQL integration lets your agents query, insert, update, and delete data in PostgreSQL databases.

Prerequisites

You need:

  • PostgreSQL connection string — The connection URI for your PostgreSQL instance (e.g., Host=myserver;Database=mydb;Username=user;Password=pass;). This includes authentication credentials.

Setup

  1. Open your agent in Agent Studio
  2. In the Integrations panel, click Add Integration Config
  3. Select PostgreSQL from the integration list
  4. Give the config a display name (e.g., "PostgreSQL - Production")
  5. Enter your Connection String (stored encrypted)
  6. Save the agent revision

No separate authentication setup is needed — credentials are embedded in the connection string.

Using in Your Agent

  1. In an Agent Step, attach PostgreSQL tools from the tools panel
  2. The agent uses your integration config for all PostgreSQL operations
  3. Tools are referenced as postgresql.query, postgresql.insert, etc.

Available Tools

ToolDescriptionAction Type
list_tablesList all tables in the databaseReadOnly
describe_tableGet the schema of a tableReadOnly
queryExecute a SELECT queryReadOnly
insertInsert rows into a tableReversible
updateUpdate rows in a tableReversible
deleteDelete rows from a tableIrreversible

On this page