app icon
Oracle AI Database
0.0.4

Connect to Oracle database and execute SQL statements.

langgenius/oracle_ai_db1373 installs

Oracle AI Database Plugin

Author: langgenius
Version: 0.0.3
Type: tool
Repo: https://github.com/WilburOracle/dify-oracle-db-plugin

Description

This plugin enables connections to Oracle databases (supporting Oracle Database 26ai and earlier versions) and offers two tools: one for executing SQL queries (e.g., SELECT statements) and another for running SQL commands (such as INSERT, UPDATE, or DELETE operations). It features a streamlined interface that allows direct interaction with Oracle databases within Dify, simplifying database operations for users.

Features

  • Connect to Oracle databases using Thin Mode (no need for Oracle client installation)
  • Execute SQL queries and retrieve results in a structured format (JSON, Markdown, CSV)
  • Execute SQL statements (INSERT, UPDATE, DELETE) and get execution status
  • Support for common Oracle data types
  • Error handling and detailed error messages
  • Oracle is a converged database, this plugin can execute multi-modal SQL, including relational data queries, property graph data queries, JSON document data queries, vector data queries, etc.

Parameters

Query Tool Parameters

When using the Query tool, you need to provide the following parameters:

ParameterTypeRequiredDescription
hostStringYesThe hostname or IP address of the Oracle database server
portIntegerNoThe port number of the Oracle database server (default is 1521)
userStringYesThe username for connecting to the Oracle database
passwordStringYesThe password for connecting to the Oracle database
service_nameStringYesThe service name of the Oracle database
queryStringYesThe SQL query to execute against the Oracle database
output_formatStringNoThe format of the output (JSON, Text-Markdown, Text-CSV), default is JSON

Execution Tool Parameters

When using the Execution tool, you need to provide the following parameters:

ParameterTypeRequiredDescription
hostStringYesThe hostname or IP address of the Oracle database server
portIntegerNoThe port number of the Oracle database server (default is 1521)
userStringYesThe username for connecting to the Oracle database
passwordStringYesThe password for connecting to the Oracle database
service_nameStringYesThe service name of the Oracle database
statementStringYesThe SQL statement to execute (INSERT, UPDATE, DELETE)
output_formatStringNoThe format of the output (JSON, Text-Markdown, Text-CSV), default is JSON

Example Usage

Query Tool Example

Parameters:

When using the Query tool, the plugin returns results in the format you specified (JSON by default) with the following structure:

JSON format:

Markdown format: Returns a formatted markdown table with the query results.

CSV format: Returns the raw CSV data of the query results.

Execution Tool Example

Parameters:

When using the Execution tool, the plugin returns execution status in the format you specified (JSON by default):

Error Format

In case of an error, the response will be:

Version History

0.0.3

  • Renamed plugin to Oracle AI Database
  • Added new tool to execute SQL statements (INSERT, UPDATE, DELETE)
  • Enhanced output format options for query results(JSON, Text-Markdown, Text-CSV)

0.0.2

  • Change Python version to 3.11.

0.0.1

  • Initial version
  • Connect to Oracle databases
  • Execute SQL queries and retrieve results

Privacy Note

This plugin only executes SQL and returns results to Dify workflows. It does not actively or passively collect user information.

CATEGORY
Tool
VERSION
0.0.4
langgenius·03/26/2026 08:41 AM
REQUIREMENTS
Maximum memory
256MB
Oracle AI Database - Dify Marketplace