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

# search_sales_agent

> The AI Sales Agent working pool: membership, mute status, quota, settings and generated plan tasks.

> [!NOTE]
>
> **READ** · 8 operations · never changes data

The AI Sales Agent working pool: which leads are in it, whether a given lead is muted, the account's quota, current settings, and generated plan tasks.

```js theme={null}
search_sales_agent({
  kind: "pool" | "is_in_pool" | "mute_status" | "quota" | "current" | "by_lead"
    | "settings" | "plan_tasks",
  lead_id?, limit?, offset?, filters?
})
```

| `kind` | Required | Notes |
| - | - | - |
| `is_in_pool` / `mute_status` / `by_lead` / `plan_tasks` | `lead_id` | — |
| `pool` | — | `limit` (at most 100, default 20) and `offset` (default 0) page the pool. `filters` holds `aiStage`/`sort`/`desc`. |
| `current` | — | Returns the caller's own current AI assistant profile. Takes no other parameter. |

> [!WARNING]
>
> `filters.aiStage` is a closed set of real values with no verified complete list — e.g. the plausible-looking `"Engaged"` is rejected. If a value is rejected, don't keep guessing synonyms.

> [!NOTE]
>
> An argument not listed above, such as `page`, is rejected with an error that names the accepted arguments, rather than ignored.

> [!WARNING]
>
> Boundary — this manages *which leads the AI follows up on*, not the lead data itself.


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