Skip to main content

Custom Tools

Need to connect agents to an API, database, or service that MeetLoyd does not have a pre-built connector for? Custom tools let you extend your agents with any capability you can imagine.

What Are Custom Tools?

Custom tools are user-defined actions that agents can call during conversations. They follow the Model Context Protocol (MCP) standard -- the same open protocol used by all of MeetLoyd's built-in integrations. When an agent decides it needs to use a tool, MeetLoyd executes it securely on the server side and returns the result.

You define three things for each custom tool:

  1. What it does -- a name and description so the agent knows when to use it
  2. What it needs -- an input schema describing the parameters
  3. How it runs -- the execution method (HTTP call, JavaScript logic, webhook, or database query)

Tool Types

TypeBest ForHow It Works
HTTPREST APIsMeetLoyd makes a server-side HTTP call with your configuration
JavaScriptCustom logic, data transformationYour code runs in a secure sandbox with a 30-second timeout
WebhookExternal processing on your own serverMeetLoyd calls your endpoint; your server processes and responds
DatabaseSQL queriesDirect connection to your database with parameterized queries

Why Custom Tools?

api
Any API
lock
Secure by Default
security
Sandboxed Execution
verified
Approval Workflows

How Agents Use Custom Tools

Once you create a custom tool and assign it to an agent, the agent can call it naturally during any conversation. For example, if you create a weather_lookup tool, a user can ask "What is the weather in Paris?" and the agent will call your tool, get the result, and respond conversationally.

You do not need to teach the agent special syntax -- the tool's name and description are enough for the agent to know when and how to use it.


Next: Explore Security Features for authentication and access control.