Packages

Extreme minimal AI assistant with persistent PTY, recursive sub-agents, and CLI-based MCP/browser integration (mcporter, agent-browser)

Retired package: Release invalid - Deprecated due to missing config files

Current section

Files

Jump to
eai config tools get_local_time.exs
Raw

config/tools/get_local_time.exs

defmodule Eai.Tool.GetLocalTime do
@behaviour Eai.Tool
@impl true
def schema do
%{type: "function", function: %{
name: "get_local_time",
description: "Returns current UTC time in ISO-8601 format.",
parameters: %{type: "object", properties: %{}, required: []}
}}
end
@impl true
def execute(_args, _pty_session_id, _chat_session_id) do
DateTime.utc_now() |> DateTime.to_iso8601()
end
end