app icon
CloudBeaver
0.0.2

Run SQL queries against a CloudBeaver database connection from Dify agents and workflows.

dbeaver/cloudbeaver44 installs

CloudBeaver

This is a Dify tool plugin for CloudBeaver, a web-based database management tool. It lets you run SQL queries against
any database connected to your CloudBeaver server, directly from Dify agents and workflows.

Source code: https://github.com/daelynum/dify-plugin-cloudbeaver

Installation

Install the plugin from the Dify Marketplace, or upload the packaged file under Plugins -> Install
plugin -> Local Package File
.

Operations

  • Execute SQL query - run any SQL query with support for limit, offset, ORDER BY, and WHERE filters.

Note: only connections from the Shared project in CloudBeaver are supported.

Credentials

Configure the plugin credentials once:

FieldDescription
Server URLBase URL of your CloudBeaver server, e.g.
UsernameLocal access username
PasswordLocal access password
Connection IDID of the CloudBeaver connection to run queries against (Shared project only)

The plugin authenticates
with local access (username/password). The
CloudBeaver server must be reachable from wherever Dify runs.

Compatibility

Runs as a tool plugin on Dify Cloud and self-hosted CloudBeaver (Community, Enterprise, or AWS Edition).

Usage

Finding the connection ID

Right-click a database in CloudBeaver's Database Navigator, select Open, and copy the ID from the connection
window (e.g. ).

Default database

The Default database field lets you specify which database or catalog to use when running SQL. Leave it empty to use the
connection's default. This helps when a single CloudBeaver connection has access to multiple databases and you want to
target a specific one.

Parameters

ParameterRequiredDefaultDescription
no-Database or catalog to run the query against
yes-SQL query to execute
no200Maximum number of rows to return
no0Number of rows to skip
no-Column(s) to sort by, e.g.
no-Extra WHERE condition, e.g.

Execute SQL query

The Where and Order by fields are applied on top of your SQL query:

String values in Where must be quoted, e.g. . Numbers go without quotes, e.g. .

Output

The tool returns a JSON message:

Getting started

  1. Start CloudBeaver:

  2. Configure authentication - follow
    the Local Access Authentication guide. Create a
    user (login/password) or use admin credentials.

  3. Create a database connection - follow
    the Create Connection guide.

  4. Get the connection ID - open Database Navigator, right-click a database, select Open, and copy the connection ID.

  5. In Dify:

    • Configure the CloudBeaver plugin credentials (Server URL, username, password, connection ID).
    • Add the tool to an agent or workflow.
    • Call it with a SQL query.

Resources

CATEGORY
Tool
TAGS
UTILITIES
VERSION
0.0.2
dbeaver·07/12/2026 08:09 AM
REQUIREMENTS
Maximum memory
256MB
Maximum storage
1MB