Skip to main content
Version: Current

Tools and Actions

Overview​

Tools enable Conversational Agents to perform actions in addition to answering questions.

While a Conversational Agent can generate responses using its instructions, conversation history, and enterprise knowledge, tools allow the agent to interact with systems, execute workflows, retrieve data, and perform business operations.

By connecting tools to a Conversational Agent, the agent can move beyond informational conversations and actively participate in business processes.


How Tools Work​

The Conversational Agent activity provides a dedicated Tools connector.

Activities connected to this connector become available for tool execution by the agent.

During a conversation, the AI model can determine when a tool is required and invoke the appropriate activity to fulfill the user's request.

Typical flow:


Adding a Tool​

To add a tool:

  1. Add a Conversational Agent activity to the workflow.
  2. Select the activity.
  3. Use the Tools connector.
  4. Connect one or more activities to the connector.
  5. Configure the connected activities as required.
  6. Expand Tool Settings on each connected activity and configure its description, acknowledgement, and interruption message.

Once connected, the activities become available for tool execution during conversations.

Adding Tools from the Configuration Dialog​

You can also open the Conversational Agent configuration dialog, select Tools, and click + to open the tool picker. Select the required activity and configure it for the agent.

Selected tools appear in the Tools tab. Use the × beside a tool to remove it from the selection. Configure each tool's inputs and Tool Settings as described below.

The gear icon opens the agent's default tool acknowledgement configuration; see Configure the Default Tool Acknowledgement.

Web Chat page-action tools: Fill Form Field and Press Page Button are available under Web Automation only in the agent's Tools picker. They are hidden from the canvas toolbox and supported only in Web Chat. See Web Chat Page Actions for input binding, widget integration, and host-page responsibilities.


Tool Settings​

Use Tool Settings on a connected tool activity to describe when the agent should use it and configure messages associated with its execution. The acknowledgement settings also apply to tools connected to an AI Agent.

Tool Description​

Describe what the tool does, when the agent should use it, and what information it returns. The agent uses this description when choosing a tool for the user's request.

For example:

Retrieve an invoice by invoice number and return its payment status.

Tool Acknowledgement​

Choose whether the tool uses the agent's default acknowledgement message, a custom message, or no acknowledgement.

OptionBehavior
InheritUse the default tool acknowledgement message configured for the agent.
OverrideDisplay Tool Acknowledgement Message, where you enter a custom acknowledgement message for this tool.
DisabledDisable acknowledgement for this tool.

For example, a tool that retrieves invoice information could use the custom acknowledgement: “Please wait while I check the invoice status.”

Configure the Default Tool Acknowledgement​

  1. Open the AI Agent or Conversational Agent configuration dialog.
  2. Select the Tools tab.
  3. Click the Tool Acknowledgement gear icon.
  4. In the Acknowledgement dialog, change the default message.

Tools set to Inherit use this agent-level default. Use Override when a tool needs its own message.

note

Web Chat page-action calls do not speak a tool acknowledgement, even when one is configured. See Web Chat Page Actions.

While this tool runs​

Block interruptions is currently the only supported option. Users cannot interrupt tool execution. If a user attempts to interrupt while the tool is running, the agent displays the Interruption message and the tool continues executing.

Interruption message​

Enter the message to display whenever a user attempts to interrupt during tool execution. For example:

Please hold on a moment while we process your request...

This message informs the user that processing is still underway; it does not cancel or pause the tool.


Supported Tool Activities​

Any activity that performs an action or retrieves information can be used as a tool.

Examples include:

  • HTTP Request
  • Database Activities
  • Email Activities
  • File Activities
  • AI Activities
  • Integration Activities
  • ERP Integrations
  • CRM Integrations
  • Custom Activities

The specific tool set available to the agent depends entirely on the activities connected through the Tools connector.


Tool Selection​

When multiple tools are connected, the Conversational Agent determines which tool to invoke based on:

  • User request
  • Conversation context
  • Agent instructions
  • Tool descriptions
  • Available inputs

The AI model automatically decides whether a tool is required and which tool is most appropriate for the requested operation.


Returning Results​

After a tool completes execution, its outputs are returned to the Conversational Agent.

For Web Chat page-action tools, outputs describe the action sent to the host page, not its completion. The host's acceptance or rejection is not returned to the agent. These calls are fire-and-forget, and client-action calls do not speak a tool acknowledgement even if configured. The host page implements validation and any user confirmation.

The agent uses the returned information to generate a response for the user.

Example:

User:
What is the status of ticket 12345?

Agent:
Invokes Ticket Lookup Tool

Tool:
Returns ticket information

Agent:
Ticket 12345 is currently assigned to the Infrastructure Team and is in progress.

Building Multi-Step Tools​

Some business operations require multiple activities to complete.

In these scenarios, it is recommended to encapsulate the logic inside a workflow and expose the workflow as a single tool.

This approach simplifies tool management and keeps the Conversational Agent workflow easier to maintain.

Typical examples include:

  • Customer onboarding
  • Invoice processing
  • Employee provisioning
  • Order fulfillment
  • Approval workflows

Using Sub Workflows as Tools​

A common approach for implementing complex tools is to use a Sub Workflow.

The Sub Workflow contains all activities required to perform the business operation, while the parent conversational workflow exposes the functionality through a single tool connection.

Typical structure:

Conversational Agent
│
▼
Call Sub Workflow
│
▼
Sub Workflow
│
├── Activity A
├── Activity B
├── Activity C
└── Activity D

This approach provides:

  • Better maintainability
  • Reusability
  • Simplified Agent workflows
  • Easier testing
  • Separation of concerns

Designing Effective Tools​

When designing tools:

Keep Tools Focused​

Each tool should perform a single business function.

Good examples:

  • Create Ticket
  • Lookup Customer
  • Retrieve Invoice
  • Send Email

Avoid creating tools with multiple unrelated responsibilities.


Return Meaningful Results​

Tool outputs should contain the information required for the agent to generate a useful response.

Well-structured outputs improve response quality and reduce ambiguity.


Handle Errors Gracefully​

Tools should return meaningful error information whenever possible.

This allows the agent to provide useful feedback to users when an operation cannot be completed.


Use Sub Workflows for Complex Logic​

If a business process requires multiple activities, approvals, integrations, or branching logic, encapsulate the implementation inside a Sub Workflow and expose it through a Call Sub Workflow activity.

This keeps conversational workflows simple and easier to understand.


Example Scenarios​

Customer Support Agent​

Available tools:

  • Create Ticket
  • Get Ticket Status
  • Escalate Ticket

HR Assistant​

Available tools:

  • Submit Leave Request
  • Check Leave Balance
  • Retrieve Employee Information

Finance Assistant​

Available tools:

  • Create Invoice
  • Retrieve Invoice
  • Check Payment Status

Best Practices​

  • Connect only the tools required by the agent.
  • Use descriptive activity names.
  • Keep tool responsibilities focused.
  • Prefer Sub Workflows for complex business processes.
  • Validate tool outputs before using them in downstream operations.
  • Test tool execution paths thoroughly.
  • Limit access to sensitive operations where appropriate.