What you’ll get
In this video you’ll see how to give your agent a tool that reaches your own systems. We’ll use the Customer care · UK agent as our example. First we’ll look at what comes built in and what can be connected, then we’ll start a tool that checks whether a day is free. Let’s open the Customer care · UK agent from the list. It’s a workspace called Grupo Alba, so everything here is shared with your team.- Press Customer care · UK.
Open the Tools tab
Every agent has a set of tabs across the top, and the one we want is Tools. Let’s open it. This is where you decide what the agent can do beyond talking, such as looking things up or calling your own endpoints.- Press Tools.
Built-in tools
The first section is Built in, and it holds two tools that come with the platform. Here they are as a group. Web search looks up things the agent doesn’t know. It adds a few seconds to a turn, and it is billed per search, at $0.15 a search as the page shows. Second opinion asks a more capable model when the agent is unsure about things like dates, totals or rules. Those turns take about a second longer, so it’s worth switching on only where accuracy matters most.
Integrations
Below that is the Integrations section, and this works differently. Each integration is connected once for the whole workspace, and then switched on for each agent that needs it. So you won’t set up the same calendar twice for every agent. Google Calendar, for example, checks when you’re free and books meetings on your calendar, never over another event. We won’t connect anything in this walkthrough, but this is where it would happen.
Your own tools
The last section is Your tools, and this is where you build tools that call your own systems. Each one is an endpoint of yours, and the agent calls it when the situation fits the tool’s description. The existing tools here are track_shipment and reschedule_delivery, which are already in place for this agent. To add another, we start with the button on the right.
Making a tool: what it does
Press Add tool to start a new tool. A window opens with three steps across the top: what it does, what it needs, and where it goes. The first field is the name, Check availability, and the agent calls the tool as check_availability. The field below tells the model when to use the tool, and it matters most: when the caller asks whether a day or time is free, before offering to book it. Saying what the tool gives back helps the model use the answer.- Press Add tool.
- In Check availability, write: “Check availability”
- In When the caller asks whether a day or time is free, before offering…, write: “When the caller asks whether a day or time is free, before offering to book it.”
Making a tool: what it needs
We move on with Continue. Now the window asks what the tool needs from the conversation: details the agent has to collect before it can call the endpoint. Press Add something it needs. Its name is date, and its description says the day the caller wants, as YYYY-MM-DD. The type choices are Text, Number, Yes or no, and One of. Required means the agent must get this before it can use the tool, and we’ll keep it switched on.- Press Continue.
- Press Add something it needs.
- In date, write: “date”
- In The day the caller wants, as YYYY-MM-DD, write: “The day the caller wants, as YYYY-MM-DD”
Making a tool: where it goes
The last step asks where the call goes. There are two options. My API sends the details to your own URL during the call and reads the answer back to the agent. My app sends the call to your application over the SDK, with no public URL, and that suits browser integrations. We’ll choose My API. The address is https://example.com/availability, and this is the URL that receives the request during the call.- Press Continue.
- Press My API We POST the details to your URL during the call and read the….
- In https://api.example.com/availability, write: “https://example.com/availability”
Stopping before adding
At this point the tool is fully described, but we won’t add it in this walkthrough. Press Close to shut the window without saving anything. The tool list stays as it was, with track_shipment and reschedule_delivery still there. That’s the whole path for making a tool of your own, from the description to the address.- Press Close.
Voice made with AI.
Read more: Tool Calling.