Query an external Postgres database
Use your own connected Postgres database
Use your own connected Postgres database
Ask for the same bounded read from your connected external database, naming
the intended provider and database. An owner or admin first saves the
Postgres credentials in
Integrations; use the Supabase Session Pooler procedure when applicable.The agent inspects tables and declared relationships before joining data.
postgres_run_query uses that saved connection, not Deepline’s Database API.
The external database role determines write permissions: use a read-only role
to prohibit writes. Mutations and schema changes have no extra write toggle.
Keep credentials out of the prompt, bound the query, and inspect result limits.