Skip to main content
The Core plugin provides essential utility tools that are commonly needed by Agents for basic operations like working with dates, times, and calculations.
  • current_datetime: Get the current date and time in UTC
  • convert_to_timezone: Convert a datetime to a specific timezone
  • calculate: Evaluate a mathematical expression

Configuration

Configure the Core plugin by editing the ~/.unpage/profiles/<profile_name>/config.yaml file:
plugins:
  # ...
  core:
    enabled: true

Tools

The Core plugin provides the following tools to Agents and MCP Clients:

current_datetime

Get the current date and time in UTC.Arguments NoneReturns datetime: The current date and time as an ISO 8601 timestamp in UTC timezone.

convert_to_timezone

Convert a datetime to a specific timezone.Arguments
datetime
datetime
required
The datetime to convert (ISO 8601 timestamp).
timezone
string
required
The target timezone identifier (e.g., “America/New_York”, “Europe/London”, “Asia/Tokyo”). Use standard IANA timezone names.
Returns datetime: The converted datetime as an ISO 8601 timestamp in the specified timezone.

calculate

Evaluate a mathematical expression safely.Arguments
expression
string
required
The mathematical expression to evaluate. Supports basic arithmetic operations: addition (+), subtraction (-), multiplication (*), division (/), floor division (//), modulo (%), and exponentiation (**). Example: “2 + 3 * 4” or “(10 - 2) / 4”.
Returns string: The result of the mathematical expression as a string.
I