Tools

tools.md

Tools let Leilani do work beyond conversation.

Open your agent in the console and select Tools. The panel contains:

  • Functions
  • MCP Servers
  • Caches
  • JSON Web Tokens

Tool types

Functions

Call HTTP endpoints, send email, send SMS, or transfer calls through TEL.

MCP Servers

Connect remote Model Context Protocol servers and expose approved tools during calls.

Caches

Store Function outputs, generated JWTs, and reusable values for a fixed TTL.

JSON Web Tokens

Generate signed JWTs on a refresh cycle and store them in caches for Function use.

Design guidance

  • keep each tool focused on one job
  • use clear names that describe the action
  • write instructions that specify when the tool should and should not be used
  • use JSON Schema parameters for required caller-provided values
  • hide HTTP output when the raw result should not be visible to the agent
  • use caches only when stale data is acceptable for the configured TTL
  • test high-impact tools on a non-production agent first