# Tools

> Let the agent look things up and book while it talks: calendars, CRMs and your own API.

Relay docs, updated 30 October 2026 · https://prompt.themes.dev/docs/tools/

A tool is a function the agent may call during a call. Relay has tools for the calendars and CRMs our customers use most; for anything else, describe your own endpoint.

## A built-in tool

```yaml
tools:
  - calendar.find_slots
  - calendar.book
```

Connect the calendar once under **Settings → Connections**; the agent uses the account you connect.

## Your own endpoint

```yaml
tools:
  - name: orders.find
    url: https://api.example.com/orders
    method: GET
    input: { phone: string }
```

The agent waits at most 1.5 seconds for a tool. It says a short holding line ("One moment, I'm looking") if a tool takes longer than 600 ms.
