> ## 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.

# manage_sales_agent

> Add leads to the AI working pool, mute or unmute a lead, or send an SMS through the AI number.

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

Add leads to the AI working pool, mute or unmute a lead, or send an SMS through the AI number. Sales Agent settings are read-only here — read them with [`search_sales_agent`](https://developer.lofty.com/mcp/tools/search-sales-agent) and change them in the Lofty CRM.

```js theme={null}
manage_sales_agent({
  action: "add_to_pool" | "mute" | "unmute" | "ai_number_sms",
  lead_ids?, lead_id?, settings?, ai_assistant_id?, confirm_token?
})
```

| `action` | Required | Notes |
| - | - | - |
| `mute` / `unmute` | `lead_id` (singular) | — |
| `add_to_pool` | `lead_ids` (plural) | Backed by a genuine batch endpoint — accepts large arrays, unlike the [10-record cap](https://developer.lofty.com/mcp/guides/bulk-writes.md) that applies elsewhere. Confirms past 10 leads — replay with the returned `confirm_token`. Optional `ai_assistant_id` targets a specific Sales Agent instead of the hierarchy-resolved one for every added lead — seat and quota bill to its owner. |
| `ai_number_sms` | `settings.content` (the message text) | The recipient is the agent themself — the caller by default, or the teammate named by optional `settings.agentId`. Not a `lead_id`. |

> [!NOTE]
>
> `unmute` (CHIME-70595) reverses a `mute` — the response's `success` field reports whether
> follow-up actually resumed. If `success` is `false` and `shouldBuyAi` is greater than 0, the
> team has no available AI seat for this lead rather than a generic failure.


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