Skip to main content

Uniphore Help Center Portal

Agent Action Library

The Agent Action Library allows you to define custom tools that extend the capabilities of your AI agents. These tools enable seamless integration with external systems, dynamic data manipulation, and the delivery of personalized and intelligent user experiences.

The Agent Action Library includes four key elements:

  • API Integration - Connect your AI agents to third-party APIs and services to retrieve or send data in real time.

  • Database Operations - Perform Create, Read, Update, and Delete (CRUD) operations on structured datasets across connected DBs.

  • Message Handling - Interpret, process, and generate responses based on user inputs or system-generated events.

  • Custom Functions - Define purpose-built logic and workflows tailored to your specific use cases or business processes.

To access this page, go to the Home page > Agents > Agent Action Library.

Home_Page.png
Creating Tool Integrations

You can configure integrations with third-party tools. This enables AI agents you create via the Agent SDK tool to interact with external systems and expand their functionality. You can configure code or services as tools, and also combine tools in a sequence.

While this section focuses on creating tool integrations, please note that, in addition to the tool integrations you create, some pre-built Darwin tools are included. You can also create MCP integrations.

To integrate new tools:

  1. Go to the Home page > Agent Action Library.

    The Agent Action Library page opens.

    Home_page.png
  2. Click Get Started.

    The Integrations page opens and displays a predefined list of commonly supported tools, categorized by functionality to simplify discovery and configuration.

    Integrations_Page.png

    Tip

    In addition to any tools you or your organization have created, there are also some default tools available. These tools have the "Darwin" label.

  3. Select the type of tool to create:

  4. To edit the tool, click the tool in the Apps list.

  5. To delete the tool, click the Delete Delete.png icon and then click Delete.

Configuring a Service as a Tool

An Open API service as a tool is a tool that wraps an existing HTTP/REST API whose contract is described using an OpenAPI (Swagger) spec. You point the platform to an OpenAPI definition, and the endpoints in that spec become callable tools with typed parameters and responses.

The platform also supports Workato integration, which uses OpenAPI to expose a broader variety of agent actions.

Service tools are best for:

  • Integrating with internal or external services that already have REST APIs

  • Performing CRUD operations, lookups, or workflows that are already standardized

  • Situations where you want strongly typed, auto-generated tools from an API spec instead of writing code wrappers by hand

To configure your own service as a tool, click Open API.

The Open API Actions panel opens.

  1. Enter a unique name for the tool.

  2. Enter a detailed description of the tool.

  3. Select your desired access level from the Access Level dropdown:

    • User: Grants permission to individual users

    • Tenant: Grants permission to all users within the tenant organization

    This setting controls which users are authorized to execute this API action.

  4. From the Type dropdown, select one of the following connection methods for the Open API:

Configuring Open API with JSON

After selecting this option:

Open_API_Actions.png
  1. Drag and drop your OpenAPI specification file, or click Browse Files to upload it from your local system.

    Note

    • You can upload files only in YAML or JSON format.

    • All action items are derived from this file only.

  2. Click Save.

    The form is updated with new fields based on the content of the OpenAPI specification file you uploaded.

  3. Enter the parameters as directed and then click Save again.

    The Integrations page opens and displays a list of tools.

  4. Click your tool in the list and then click Connect to App:

    openapi_connect_to_app.png

    If you have entered the correct credentials in the JSON configuration and this is the first time connecting to this application, you are presented with a Callback URL. This is the URL you will need to register with the application you are connecting to. You may need to send this to an administrator of the tool or service. Once the connection is approved, return to your tool and click Connect to App again.

    openapi_signin_callback.png

    If the credentials entered in the JSON configuration are not correct, an error message is displayed:

    agent_action_fail.png

    Go back to the Open API Actions page and enter the correct credentials.

  5. Once the connection is successful, the button is updated to "Connected to the App", and the tool is ready to use.

    connected_to_app.png
Configuring Open API with URL

After selecting this option:

Open_API_Actions_1.png
  1. Enter the valid URL to access the Open API directly.

  2. If required, enter the necessary authentication token to proceed.

    A confirmation message appears when validation is successful.

  3. Click Save to save the configuration

    The new tool is then added to the Integrations page.

Configuring Rest API

Note

Ensure you have complete REST API documentation and parameter details from the third party before beginning configuration to avoid setup issues.

After selecting this option:

Open_API_Actions_2.png

Enter all required fields to configure the API.

Fields

Description

Base URL

Enter the root URL of the API server where all endpoints are hosted.

Add Endpoints

Click the Add Add_icon.png icon to add endpoints to your API function.

You can create multiple endpoints, each serving as a different access point for your API.

End point - 0

Click the endpoint row to expand its configuration panel.

Click the Delete Delete.png icon to remove the endpoint if no longer needed.

Method

Choose the appropriate HTTP verb from the dropdown:

  • GET - Retrieve data from the server.

  • POST - Send new data to the server.

  • PUT - Update existing data on the server.

  • DELETE - Remove data from the server.

This defines the type of request the endpoint will handle.

Endpoint

Enter the API path (e.g., /users, /orders/{id}).

Summary

Write a brief, one-line summary of what this endpoint does.

Description

Write a more detailed explanation of the endpoint’s purpose, usage, and behavior.

Security Schema

Security Type

Choose the appropriate type from the dropdown:

  • None - No authentication required. The endpoint is publicly accessible.

  • Bearer - Token-based authentication using Bearer tokens.

  • API Key - Authentication using API keys.

  • Basic - Username and password authentication.

  • OAuth2 - Uses the OAuth 2.0 framework for secure delegated access.

Token

Enter the authentication token required to access the API endpoint.

Available only when the Bearer security type is selected.

Key

Enter the authentication key required to access the API endpoint.

Available only when the API key security type is selected.

Value

Enter the authentication key value required to access the API endpoint.

Available only when the API key security type is selected.

Add to

From the dropdown, select where to include the key-value pair in the API request:

  • Header - Include in request headers.

  • Query Params - Include as URL query parameters.

Available only when the API key security type is selected.

Username

Enter the username required to access the API endpoint.

Available only when the basic security type is selected.

Password

Enter the password associated with the username.

Available only when the basic security type is selected.

Access Token URL

Specify the OAuth2 authorization server endpoint URL used to exchange credentials for access tokens.

Available only when the OAuth2 security type is selected.

Client ID

Enter the unique client identifier provided by the OAuth2 service.

Available only when the OAuth2 security type is selected.

Client Secret

Enter the confidential client secret key for authentication.

Available only when the OAuth2 security type is selected.

Scope

Enter the requested permissions or access scope for the OAuth2 token.

Available only when the OAuth2 security type is selected.

Parameters Configuration

  • Path Parameters

  • Query Parameters

  • Header Parameters

Click the Add Add_icon.png icon to add one or more Parameters for the API endpoint.

  1. Enter the parameter name.

  2. Select the parameter's data type from the dropdown:

    • String - Text values

    • Number - Numeric values

    • Boolean - True/false values

  3. Click Required to mark the parameter as required or optional.

  4. Enter the default value for the parameter.

  5. Enter a description of the parameter's purpose.

  6. If required, click the Delete Delete.png icon to remove the parameter.

Important

Mandatory fields are marked with Star_.png.

Click Save to save the configuration.

The new tool is then added to the Integrations page.

Configuring Code as a Tool

Code-based tools are reusable code snippets that run exactly as written. They are fixed, not dynamic. You can write the code yourself, or describe what you need in natural language and let the tool generate it. Generated code can be reviewed and edited before being approved for use.

Code-based tools are best for:

  • Custom business logic or orchestration that does not already exist as a stable API

  • Data transformations, calculations, or glue logic between multiple systems

  • Prototyping tools quickly without needing API contracts or backend changes

Once defined, they are saved as build-time configurations and executed deterministically at run time. This makes them ideal for predetermined agent actions such as mathematical functions and data processing.

To configure your own code as a tool, click Code.

The Create Code Actions panel opens on the right side.

Create_Code_Actions.png
  1. Enter a unique name for the tool.

  2. Enter a detailed description of the tool.

  3. If required, click the Add Add_icon.png icon to add a new code action for your tool.

    You can create multiple actions, each serving as a different access point.

  4. Click the Delete Delete.png icon to remove the code action if no longer needed.

  5. Click the Action row to expand its configuration panel.

  6. Enter a unique name for the code.

  7. Enter a detailed description of the code.

  8. Select the code language from the dropdown.

    • Python

  9. Enter the main function name.

  10. Enter the required code in the Code box.

  11. Alternatively, generate code using LLM:

    1. Enter the prompt in the Prompt box.

    2. Click Generate Code to let the LLM create the code for you in the Code box.

    3. You can update the code as needed.

  12. Click Save to finalize your configuration.

    The new tool is then added to the Integrations page.

Configuring a Sequence of Tools

A sequence is a composed tool that chains multiple existing tools (Code, Open API, or other pre-existing tools) into a fixed sequence. You define a step-by-step flow: Tool A > Tool B > Tool C, passing data between steps.

Sequences are best for:

  • Multi-step operations that should behave like a single high-level tool from the agent's perspective

  • Enforcing a specific order of operations and guardrails (e.g., validate > enrich > write > notify)

  • Encapsulating complexity so the LLM does not have to plan every micro-step

To configure a sequence of pre-existing tools to execute based on a prompt, click Sequence.

The Create Sequence panel opens.

create_sequence.png
  1. Enter a unique name for the sequence.

  2. Enter a description for the sequence.

  3. Enter a prompt for which a sequence of one or more tools will be executed. For example, "Find holidays on the calendar for next month and send them to me via Slack." For this example prompt, the Slack and Microsoft Calendar agents would be required.

  4. Click Add Tools.

    A list of available tools opens.

    add_tools.png
  5. Select one or more tools and click Next.

    A list of tool actions opens (if you selected multiple tools, the actions are grouped by tool). For each tool, select specific actions to allow, or click Select All Actions.

    Note

    Selecting more actions than needed is okay. During the Generate Sequence phase, any actions that are not relevant to your prompt are excluded. However, if you do not select an action that the tool needs to complete a task, it will not be added automatically. When in doubt, select all actions.

    add_actions.png
  6. Click Add.

    The Selected Tools list now shows the added tool(s).

    create_action_sequence_tools.png
  7. Continue adding tools until the sequence is complete.

  8. Click Generate Sequence.

    generate_sequence.png

    Verify the list of tools and the steps in the Sequence. If the prompt is not structured properly for the selected tools, tools or steps may be dropped from the Sequence. For example, given the prompt above, adding a tool that creates timesheets would not be valid, so the tool would not be included in the Sequence.

  9. Click Save. The tool is added to the list of available Apps.

    sequence_in_list.png
Creating an MCP Integration

You can configure integrations with third-party services using the Model Context Protocol (MCP). This enables AI agents to interact with external services and extend their functional capabilities.

To integrate an MCP service:

  1. Go to the Home page > Agent Action Library.

    The Agent Action Library page opens.

    Home_page.png
  2. Click MCP Integration.

    The MCP Integration page opens, providing a comprehensive overview of the current MCP integration status, connected registries, and other details of the existing MCP services.

    Consolidated_MCP_Actions_tab.png

    At the top of the MCP Integration page, you can see the following information:

    • Registry Status - registry name and current connection status.

    • Discovered Agents - agents available on the MCP registry.

    • Connected Agents - number of agents connected with the platform.

    • Protocol Health - uptime for STDIO ports used for connecting with server-side events from the MCP server.

  3. The Consolidated MCP Actions tab is selected by default and displays a list of all existing MCP services in card view.

    Note

    Business AI Cloud is a centralized orchestrator, offering unified access to actions from providers such as Google, Microsoft, Salesforce, and others through a single MCP endpoint. End users connect to the Business AI Cloud’s MCP server, eliminating the need to interact with multiple vendor-specific MCP servers.

    • Use the available filters to quickly find the MCP service you need.

    • Click the MCP service to view its details and configured actions on the right panel.

      MCP_service_detail_panel.png
  4. Switch to the Discover MCP Agents tab to integrate a new MCP service.

    This displays all available services from the MCP registry.

    Note

    The platform is currently integrated with the Smithery MCP Registry. It is a third-party platform for discovering and managing MCP servers. It lists 2,000+ MCP servers across various categories. Refer to the Smithery website for more information.

    Discover_MCP_Agents_tab.png
    • Click any MCP service to view its details and configured actions in the right panel.

    • To create a new MCP service connection, refer to Connecting an MCP Service. OAuth connections use an inline authorization flow with automatic connection status polling.

    • To remove an existing connection, click Disconnect on the MCP service card.

  5. Switch to the Custom MCP Agents tab to view all existing MCP services that are not registered on public registries.

    Custome_MCP_Agent_tab.png
    • Use the available filters to quickly find the MCP service you need.

    • Click any MCP service to view its details and configured actions in the right panel.

    • To create a new MCP service, refer to Creating a Custom MCP Service.

    • To modify an existing service, click the Edit Edit_icon.png icon on the MCP service.

    • To remove an existing service, click the Delete Delete_icon.png icon on the MCP service.

Connecting an MCP Service
  1. Enter the required service name in the search box and click Search to filter the results.

  2. Select the required service and click + Connect.

    The Connection Credentials pop-up opens.

    Connecting_a_existing_MCP_service.png

    Note

    The required credentials may vary depending on the selected service.

  3. Select an Access level from the dropdown. This option determines who is authorized to execute the action.

    • User - Only you can execute this service.

    • Tenant - All users in your organization can execute this service.

  4. Enter the appropriate credentials.

  5. Click Test Connection.

    The platform attempts to establish a connection to the service. If the connection requires OAuth, it launches an inline authorization flow with automatic connection status polling.

    • If successful, a confirmation message is displayed.

    • If unsuccessful, an error message is displayed. Review and update the credentials, then click Test Connection again.

  6. Click Save for server integrations.

    The platform scans the connection for prompt injection, tool poisoning, data leakage risks, and privilege escalation, and blocks registration if any of these vulnerabilities are detected, providing detailed security findings.

    • Insecure Connection - The platform prevents you from saving the service due to the following issues:

      • E001 - Tool poisoning, prompt injection

      • E002 - Tool poisoning, cross-server interaction

      • E003 - Tool poisoning, hijacking agent behavior

      Review vulnerability details, contact the MCP provider to resolve issues, modify tool descriptions to remove injection attempts, and re-test after fixes.

    • Secure with Warnings - You receive a warning message due to the following issues.

      • W001 - Tool poisoning, suspicious word used

      • W003 - Entity has changed

      • TF001 - Data Leak Toxic Flow

      • TF002 - Destructive Toxic Flow

      Review it carefully and click Accept Warnings & Save to proceed.

    • Fully Secure Connection - The server is automatically integrated.

      Note

      The new MCP agents connected on this tab will appear in the Consolidated MCP Actions tab and the Integrations page.

Creating a Custom MCP Service
  1. Click Create Agent.

    The Create Custom Agent panel opens on the side.

    Create_Custom_Agent_page.png
  2. Enter a name for the MCP service.

  3. Enter a detailed description of the MCP service.

  4. Select an Access Level from the dropdown. This option determines who is authorized to execute the action.

    • User - Only you can execute this service.

    • Tenant - All users in your organization can execute this service.

  5. Select a Transport option from the dropdown.

    Different configuration fields appear based on the transport option you select.

    Transport Types

    Field

    Description

    STDIO

    (Standard input/output communication for local processes)

    Command

    Enter the executable command or the program's path.

    Arguments

    Enter any command-line arguments your program needs, separated by spaces.

    Environment Variables

    Add one or more environment variables for your service, each formatted as a key-value pair.

    • Click the Add Add_icon.png icon to add a new pair.

    • Click the Delete Delete.png icon to remove the pair from the list.

    SSE

    (Server-Sent Events for real-time server-to-client streaming)

    Streamable http

    (HTTP-based streaming for web-compatible connections)

    URL

    Enter the server endpoint URL for the SSE connection.

    Enter the URL of the streaming service's HTTP endpoint.

    Authentication Type

    Select the authentication method required by your service.

    • API Key

      • Enter the API key provided by your service for authentication.

      • Add one or more configuration parameters your service requires, formatted as key-value pairs.

    • Headers - Add one or more custom HTTP headers needed for your service, formatted as key-value pairs.

    • OAuth

      • Enter the OAuth client ID assigned to your application.

      • Enter the confidential client secret for OAuth authentication.

      • Enter the OAuth scope(s) that define the access permissions required for your service.

  6. Click Test Connection.

    The platform attempts to establish the connection. If prompted, provide the authentication credentials. Upon successful connection, a confirmation message is displayed.

  7. Click Save for server integrations.

    The platform scans the connection for prompt injection, tool poisoning, data leakage risks, and privilege escalation, and blocks registration if any of these vulnerabilities are detected, providing detailed security findings.

    • Insecure Connection - The platform prevents you from saving the service due to the following issues:

      Tool_integration_with_critical_warning.png
      • E001 - Tool poisoning, prompt injection

      • E002 - Tool poisoning, cross-server interaction

      • E003 - Tool poisoning, hijacking agent behavior

      Review vulnerability details, contact the MCP provider to resolve issues, modify tool descriptions to remove injection attempts, and re-test after fixes.

    • Secure with Warnings - You receive a warning message due to the following issues.

      Tool_integration_with_low_warning.png
      • W001 - Tool poisoning, suspicious word used

      • W003 - Entity has changed

      • TF001 - Data Leak Toxic Flow

      • TF002 - Destructive Toxic Flow

      Review it carefully and click Accept Warnings & Save to proceed.

    • Fully Secure Connection - The server is automatically integrated.

      Note

      The new MCP agents connected on this tab will appear in the Consolidated MCP Actions tab and the Integrations page.

Creating an MCP Registry Connection

The platform enables you to connect to the relevant MCP registry according to your specific requirements.

MCP_Registry_Connection.png
  1. Click Connect to Registry.

    The MCP Registry Connection window opens.

  2. Enter the MCP Registry URL.

  3. Enter the API Key for the new registry.

  4. Click Test Connection.

    The platform attempts to establish the connection. If prompted, provide the authentication credentials. Upon successful connection, a confirmation message is displayed.

  5. Click Connect to store the credentials.

    The new MCP registry is now connected and can be used to discover the required MCP services.

Viewing and Modifying Integrated Tools

The platform lets you view and modify the configuration settings for predefined integration tools.

Enter the tool name in the search box or select a category name to filter and locate the desired tool from the list.

Integrations_Page.png

Note

Use the Delete icon to permanently remove the selected tool from the list.

Select a tool to view its configured actions, which define what the tool will execute in response to AI agent requests. On the Actions page, you can perform the following tasks:

  • Authorization

  • Adding New Actions (only available for some tools)

  • Copying Action's Snippet Code

Action_page.png
Authorization

This option allows access to the tool using its authorization details.

  1. Click Authorize.

    The Authorization Parameters panel opens on the right side.

    • If the tool has SSO enabled, you will be automatically redirected to the authentication page to log in using your organizational credentials.

      Note

      For SSO authentication issues, contact your company admin support team.

    • Else, the Authorization Parameters panel opens on the right side.

      Authorization_Parameters.png
  2. Enter the tool’s authorization credentials.

    The required credentials may vary depending on the selected tool.

  3. Click Save to validate and store the credentials.

After successful authentication, the page displays a confirmation status showing that your account is connected.

Authorized_page.png

Tip

You can view a tool's authentication status in the Profile Management.

Adding New Actions

Use this option to define new custom actions for the selected tool. This feature applies to a limited set of tools.

Add_custome_page.png
  1. Click Add Custom Action.

    The Add Custom Action panel opens on the right side.

  2. Enter the action name.

  3. Enter a clear and concise description of the action, including its purpose and expected behavior.

  4. Click Save.

    The new action is added to the existing list of configured actions.

Copying Snippet Code

Use this option to view and copy the source code of the action for alternative purposes, such as customization or reuse.

Source_code_page.png
  1. Select the required action.

    The source code appears in the right-side panel.

  2. Click the Copy Copy_icon.png icon to copy the code.

    A confirmation message is displayed.

  3. Click X  to close the panel.