> ## 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, write settings, send an SMS through the AI number, or batch-create plan tasks.

<Warning>**WRITE** · 6 operations · may change data</Warning>

Add leads to the AI working pool, mute or unmute a lead, write settings, send an SMS through the AI number, or batch-create plan tasks.

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

`lead_id` (singular) is required for `mute` and `unmute`. `lead_ids` (plural) is for `add_to_pool`/`create_plan_tasks`.

`add_to_pool` and `create_plan_tasks` are backed by genuine batch endpoints, so they accept large arrays — unlike the [10-record cap](/mcp/guides/bulk-writes) that applies elsewhere.

<Info>
  `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.
</Info>
