For the complete documentation index, see llms.txt. This page is also available as Markdown.

Implementation

An Implementation is the backend connection that executes a Tool — defining how the Tool connects to a specific data source or service and how it retrieves or processes data.

A Tool has two parts: its interface (what the Agent sees — a name, description, and parameters) and its Implementation (what actually runs when the Agent calls the Tool — a database query, an API call, or a document search).

The interface stays stable so the Agent can rely on it. The Implementation can change — for example, if you migrate from one database to another — without the Agent needing to be reconfigured.

Each Tool is backed by exactly one Implementation. The Implementation specifies the connection type, connection credentials (referenced by name from secure storage), query logic, and output mapping.

Dataworkz supports the following Implementation types:

Relational Database

Executes SQL queries against MySQL, PostgreSQL, Oracle, SQL Server, or any JDBC-compatible database.

Key configuration:

  • Connection name (defined in Configuration → Integrations)

  • SQL query template with parameter placeholders (for example, WHERE customer_id = {{customerId}})

  • Output column mapping to the Tool's output type

Example use case: GetOrderHistory queries a PostgreSQL orders table filtered by customer_id and status.

MongoDB

Queries a MongoDB collection using a filter expression or aggregation pipeline.

Key configuration:

  • Connection name

  • Collection name

  • Filter document with parameter placeholders

  • Projection (fields to return)

Example use case: GetProductReviews queries a reviews collection filtered by productId and sorted by createdAt.

Snowflake

Executes queries against a Snowflake data warehouse. Suited for large-scale analytical queries.

Key configuration:

  • Snowflake connection name

  • Warehouse, database, and schema

  • SQL query template

Example use case: GetSalesMetrics runs an aggregation query across a fact_sales table to return quarterly revenue by region.

REST API

Calls an external HTTP endpoint.

Key configuration:

  • URL template with path and query parameter placeholders

  • HTTP method (GET, POST, PUT, DELETE)

  • Headers, including authentication (referenced from secure storage)

  • Request body template (for POST and PUT)

  • Response field mapping to the Tool's output type

Example use case: GetShippingStatus calls a carrier's REST API with a tracking number and returns the estimated delivery date and current location.

GraphQL

Executes a GraphQL query or mutation against a configured endpoint.

Key configuration:

  • Endpoint URL

  • GraphQL query or mutation template with variables

  • Authentication headers

  • Response field mapping

Example use case: GetProductAvailability queries a product catalog GraphQL API for real-time stock levels.

RAG Application

Performs semantic search and question-answering against a Dataworkz RAG Application.

Key configuration:

  • RAG Application name (defined in RAG Applications)

  • Query parameter (the search string passed by the Agent)

  • Metadata filters (to scope retrieval to specific document subsets)

  • Number of results to return

Example use case: SearchHRPolicies retrieves relevant policy sections from the HR document corpus based on the user's question.

LLM Tool

Invokes a language model directly for generation, summarization, classification, or structured extraction.

Key configuration:

  • LLM name (defined in Configuration → LLM Configurator)

  • System prompt (defines the LLM's role and output format)

  • User prompt template with parameter placeholders

  • Output type (structured JSON or free text)

Example use case: SummarizeTicket takes raw support ticket text and returns a structured summary with category, priority, and suggested resolution.

Composite (Workflow)

Chains multiple Tool calls into a sequential sub-Workflow, exposed to other Agents as a single Tool.

Key configuration:

  • Ordered list of Tool references

  • Data flow mapping between steps (output of step N → input of step N+1)

  • Error handling rules for each step

Example use case: EnrichCustomerContext calls GetCustomerProfile, then GetOrderHistory, then GetSupportTickets in sequence, returning a unified context object.

Call Agent

Delegates execution to another Dataworkz Agent, enabling agent-to-agent orchestration.

Key configuration:

  • Target Agent name or ID

  • Input parameter mapping

  • Output type of the delegated Agent's response

Example use case: A top-level CustomerAssistant Agent delegates complex billing disputes to a specialized BillingResolutionAgent.

Real-World Example

A Compliance Assistant Agent is built from three Tools, each with a different Implementation:

Tool
Implementation
Purpose

SearchCompliancePolicies

RAG Application

Retrieves relevant policy sections from a document corpus

GetEmployeeRecord

REST API

Fetches employee details from an HR system

GetTransactionHistory

Snowflake

Queries transaction data for the specified employee and date range

All three Tools expose the same clean typed interface to the Agent. The Agent does not need to know that one is a RAG search, another is an API call, and the third is a Snowflake query — it invokes each Tool with the right parameters and uses the structured results.

By mixing Implementations, the Agent gains access to many systems and can run specialized queries for each system type.

  • Tools — The typed interface that sits in front of each Implementation

  • Tools Repository — Where Implementations are stored and managed

  • Data Types — How output types are defined for each Implementation

  • Tool Execution Framework — The runtime that executes Implementations

  • Scenarios — How Tools with Implementations are assigned to Agent Workflows

Last updated