> ## Documentation Index
> Fetch the complete documentation index at: https://developer.lofty.com/llms.txt
> Use this file to discover all available pages before exploring further.

# send_message

> Send an SMS or email to a lead, as the authenticated agent.

> [!WARNING]
>
> **WRITE** · 2 operations · may change data

Send an SMS or email **to a lead**, as the authenticated agent.

```js theme={null}
send_message({
  channel: "sms" | "email", lead_id, body, subject?,
  phone_number?, phone_code?, to_email?, confirm_token
})
```

> [!NOTE]
>
> `phone_number`/`phone_code` (`sms`) and `to_email` (`email`) target a specific number or address
> on the lead instead of its primary one. Omit them (or if no match is found on the lead) and it
> falls back to the lead's primary phone number or email address.

> [!WARNING]
>
> Recipients are always leads. To reach a teammate, use [`notify_agent`](https://developer.lofty.com/mcp/tools/notify-agent) — the two take near-identical arguments and point in opposite directions, which is exactly why they're separate tools.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.