MimerAI Docs
MimerAI Docs
Starting with MimerAI Agents

Configure

Knowledge
Introduction to ToolsCreating a Custom ToolComplete Examples

Evaluate

Conversations

Manage

Phone Numbers Vault

Tools

Complete Examples

Check out complete configuration examples of custom tools frequently used in real-life scenarios.

Get Current Time

The tool allows the Agent to retrieve the current date & time during a conversation.
This is helpful when the Agent needs accurate, real-time information, such as:

  • Scheduling appointments
  • Confirming business hours
  • Providing time-based responses (e.g., “today”, “tomorrow”, “in 2 hours”)
  • Logging or timestamping actions

For more information about the API endpoint please refer to https://time.now/developer#get-time-zone

Note the usage of path parameters in curly braces. GetTimeGeneral

This API does not require authentication. GetTimeAuth

In this case we want to preset the location, that is why we are using Static pre-defined values in path parameters. GetTimeParams

No need for Body as we are using GET method. GetTimeBody

Note that Dynamic variable is used to safe the value. GetTimeVars

This tool is usefull at any phase, i.e. prior, during & post conversation. GetTimeAvailability

As all needed values are static and preset, the API response can be tested without providing any values. GetTimeResponse


Get Calendar

The tool allows the Agent to retrieve calendar events from Microsoft Outlook using the Microsoft Graph API.
This is useful when the Agent needs to access certain schedule before booking a meeting, for listing upcoming events and avoiding scheduling conflicts.

What to pay attention to?

  • Authentication & permissions
  • Time range
  • Timezone handling

For more information about the API endpoint please refer to https://learn.microsoft.com/en-us/graph/api/calendar-getschedule?view=graph-rest-1.0&tabs=http

GetCalGeneral

Access to calendar data requires proper Microsoft Graph authentication and user consent. Authentication is setup amd managed within MimerAI Vault. Make sure to configure it correctly. GetCalAuth

Note that Static pre-defined value is set making this a static tool that always checks calendar availability for Viking.
To enable more dynamic usage, Agent variable could be used, giving the Agent the task to set its value or
Dynamic variable if we are expecting the value to be set run-time, perhaps by another tool or system.

GetCalParams

Based on the API documentation, request body is used to specify time zone, start / end times and time interals.
Using Infer from JSON enables quick & easy reuse of example code from the API documentation.
GetCalBody

To make the toole more dynamic, start / end times are Agent variables - expected to be populated within the conversation by the Agent. GetCalVars

The tool can only be available during convresation as it uses Agent variables. GetCalAvailability

To test the API response, values for Agent variables are needed. GetCalResponse

Book appointment

The tool allows the agent to create a new calendar event in a Microsoft Outlook calendar using Microsoft Graph.

What to pay attention to?

  • Required details - Collect all necessary information before booking
  • Availability - Check to avoid conflicts
  • Timezone - Ensure the meeting is scheduled in the correct timezone
  • Confirmation - Clearly confirm the details before creating the appointment

BookGeneral

BookAuth

BookParams

BookBody

BookVars

This tool needs to be available only during conversation as it expects from the Agent to set the value during the conversation. BookAvailability

In this case, to complete the API response testing we need to provide values for the Agent variables which are set by the Agent during conversation. BookResponse

Creating a Custom Tool

This section walks you through each part of the tool configuration.

Conversations

Within this section, you’ll find the conversation history from all channels where your Agents are deployed, providing a unique perspective, actionable insights, and valuable analytics.

On this page

Get Current TimeGet CalendarBook appointment