---
canonical_url: "https://docs.composio.dev/toolkits/anam_mcp"
markdown_url: "https://docs.composio.dev/toolkits/anam_mcp.md"
product: "platform"
version: null
last_updated: null
---

# Anam MCP

Build and manage Anam real-time AI avatar personas, including avatars, voices, LLMs, knowledge, tools, share links, meetings and session analytics, through Anam's official hosted MCP server.

- **Category:** model context protocol
- **Auth:** DCR_OAUTH
- **Composio-managed OAuth available?** No
- **Tools:** 86
- **Triggers:** 0
- **Slug:** `ANAM_MCP`
- **Version:** 00000000_00

## Tools

### Anam avatar create

**Slug:** `ANAM_MCP_ANAM_AVATAR_CREATE`

Create a one-shot avatar from a public image URL (`imageUrl`) or, in ChatGPT, the attached image (`image`); local file paths won’t work. Image moderation and creation capacity limits apply.

Only use images of people who have consented. Check `status` with anam_avatar_get after about 10 seconds.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `image` | object | No | Use if the user attached a photo in ChatGPT. |
| `imageUrl` | string | No | Public JPEG, PNG or WebP URL, up to 4.5MB; stored permanently. |
| `avatarModel` | string ("cara-4" | "cara-4.1-express" | "cara-4-latest") | No | Defaults to cara-4.1-express. |
| `displayName` | string | Yes | Avatar name, 3 to 50 characters. |
| `widerPercent` | integer | No | Percent wider than the standard crop; outpaints past the image edges. |
| `imageProcessing` | string ("auto" | "preserve") | No | auto crops/outpaints; preserve keeps pixels: exact 1152x1152 static opaque 8-bit RGB(A) PNG, no EXIF |

### Anam avatar delete

**Slug:** `ANAM_MCP_ANAM_AVATAR_DELETE`

Deletes an avatar. A soft delete by default: the avatar is hidden, with no restore in Lab or the API, and its files are kept. `hard: true` also erases its stored image and versions (for data-erasure requests; it purges a soft-deleted one too), except assets another avatar uses, and is refused with 409 and the persona IDs while personas use the avatar: move them with anam_persona_update first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `hard` | boolean | No | Also erase the stored image and versions, for good. |

### Anam avatar get

**Slug:** `ANAM_MCP_ANAM_AVATAR_GET`

Returns an avatar: `status` (`processing` until its preview videos exist, then `ready`), name, description, tags, style, image and versions. Its `id` is a persona’s `avatarId`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `status` | string | Yes |  |
| `resultTrimmed` | string | No |  |

### Anam avatar list

**Slug:** `ANAM_MCP_ANAM_AVATAR_LIST`

Lists the avatars the organization can use (Anam’s stock ones and its own): name, description, tags, style and image. Filter by `search`, `tags` and `renderStyle`; no match is an empty `data` list. An avatar’s `id` is a persona’s `avatarId`; anam_options adds Anam’s recommended picks.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `tags` | array | No | Matches avatars with any of these lowercase tags. |
| `search` | string | No | Matches display names and generated descriptions. |
| `perPage` | integer | No |  |
| `onlyOneShot` | boolean | No | Only return one-shot avatars |
| `renderStyle` | string ("all" | "realistic" | "animated_3d" | "illustrated" | "unknown") | No | `unknown` covers custom avatars and ones whose style isn’t known yet. |

### Anam avatar update

**Slug:** `ANAM_MCP_ANAM_AVATAR_UPDATE`

Renames an avatar (`displayName`, the only editable field) and returns it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `displayName` | string | Yes | New display name for the avatar |

### Anam avatar video cancel

**Slug:** `ANAM_MCP_ANAM_AVATAR_VIDEO_CANCEL`

Stops an avatar video that is still rendering and returns the job. A job that has already ended is returned unchanged, and a recording that finishes after the cancel stays available.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam avatar video create

**Slug:** `ANAM_MCP_ANAM_AVATAR_VIDEO_CREATE`

Creates an asynchronous avatar-video render backed by a normal recorded Anam session. A saved persona contributes only its snapshotted avatar, voice, language, model and director notes; its greeting, brain, prompt and tools never run. The request is rejected rather than queued when either concurrency limit is full.

Send exactly one of these shapes: 1. `personaId`; 2. `avatarId`, `voiceId`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `script` | string | Yes | Exact text spoken through TTS; the brain is never invoked. |
| `voiceId` | string | No |  |
| `avatarId` | string | No |  |
| `metadata` | object | No | Caller metadata, up to 16 KB serialized; stored and returned as sent. |
| `personaId` | string | No | Saved persona to snapshot; not with the direct configuration fields. |
| `videoWidth` | integer | No | Not with personaId. |
| `voiceSpeed` | number | No |  |
| `avatarModel` | string | No |  |
| `environment` | object | No | Engine routing. Internal accounts only; others get 403. |
| `videoHeight` | integer | No | Not with personaId. |
| `languageCode` | string | No |  |
| `directorNotes` | string | No |  |
| `idempotencyKey` | string | Yes | The same key and body return the original job; a different body gets 409. |
| `retentionSeconds` | integer | No | Seconds content is kept after the job ends. Omit: until deleted (ZDR: 600, at most 43,200). |
| `voiceGenerationOptions` | object | No | One of: Cartesia Sonic-3 (volume, speed, emotion); ElevenLabs V1 (stability, similarityBoost, speed); ElevenLabs V2 (stability, similarityBoost, style, useSpeakerBoost, speed, model); ElevenLabs V3 (stability, model); ElevenLabs V4 (stability, similarityBoost, model); Fish Audio (volume, speed). |
| `pronunciationDictionaryId` | string | No | Dictionary for a direct configuration; its latest saved revision applies. Not with personaId. |

### Anam avatar video delete

**Slug:** `ANAM_MCP_ANAM_AVATAR_VIDEO_DELETE`

Cancels the job if it is still running, then deletes its recording, session report and job content; the job stays, without content, and can’t be retried. Returns 200 once everything is deleted, or 202 while Lab finishes in the background, retrying every minute until it succeeds. Repeating the call is safe.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam avatar video get

**Slug:** `ANAM_MCP_ANAM_AVATAR_VIDEO_GET`

Returns an avatar video job: its `status` and, once `completed`, `content.url`, a link to the video that works for an hour (`content.expiresAt`); read the job again for a new one. A `failed` job’s `failure` says why and whether a retry can fix it (`retryable`).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam avatar video list

**Slug:** `ANAM_MCP_ANAM_AVATAR_VIDEO_LIST`

Lists the organization’s avatar video jobs, newest first: `status` (`pending`, `running` or `finalizing` while rendering; `completed`, `failed` or `cancelled` once ended), length, failure and times. Filter by `status` and creation dates; pass `nextCursor` as `cursor` for the next page. anam_avatar_video_get returns a finished video’s link.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No |  |
| `cursor` | string | No |  |
| `status` | string ("pending" | "running" | "finalizing" | "completed" | "failed" | "cancelled") | No |  |
| `createdAfter` | string | No |  |
| `createdBefore` | string | No |  |

### Anam avatar video retry

**Slug:** `ANAM_MCP_ANAM_AVATAR_VIDEO_RETRY`

Renders an ended avatar video again from its original script and settings, as a new job whose `retryOf` names the original, and returns that job. A job still rendering, or one whose `failure.retryable` is false, can’t be retried. Poll anam_avatar_video_get with the new `id`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `idempotencyKey` | string | Yes |  |

### Anam connection info

**Slug:** `ANAM_MCP_ANAM_CONNECTION_INFO`

Which Anam organization this connection acts on, its access (full, read only or a scoped API key), and how it connected: the answer to “which account am I connected to?”.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `lab` | string | No |  |
| `access` | string | Yes |  |
| `organization` | object | Yes |  |
| `resultTrimmed` | string | No |  |

### Anam docs read

**Slug:** `ANAM_MCP_ANAM_DOCS_READ`

Read a whole Anam docs page: `cat /javascript-sdk/quickstart.mdx` (a Page or Link from anam_docs_search works too). `tree / -L 2` lists the pages; `head -120 <page>` reads the start; `rg -il "livekit" /` finds pages that mention a word. A read-only shell over the docs pages and OpenAPI spec. Sent to Mintlify, which hosts Anam’s docs: send documentation terms, not customer content or secrets.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `command` | string | Yes | The shell command to run. |

### Anam docs search

**Slug:** `ANAM_MCP_ANAM_DOCS_SEARCH`

Search Anam’s documentation, guides, SDK references and cookbook for how to build with Anam: the JavaScript SDK (also used in React and Next.js), the Python SDK, LiveKit, Pipecat, ElevenLabs agents, the widget, tools, knowledge and the REST API. Returns matching passages with links. Sent to Mintlify, which hosts Anam’s docs: send documentation terms, not customer content or secrets.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | Yes | What to look for. |

### Anam integration guide

**Slug:** `ANAM_MCP_ANAM_INTEGRATION_GUIDE`

Current steps for putting a persona into the user’s app: the server-side session token pattern, the package to install, a minimal snippet, the guides to follow and the start of the stack’s main docs page. A persona ID fills it in.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `stack` | string ("javascript" | "react" | "livekit" | "pipecat" | "python" | "elevenlabs" | "widget" | "mobile") | Yes | javascript: JavaScript SDK (browser); react: React or Next.js; livekit: LiveKit Agents; pipecat: Pipecat; python: Python SDK; elevenlabs: ElevenLabs Agents; widget: Website widget; mobile: Mobile apps |
| `personaId` | string | No |  |

### Anam knowledge document create from text

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_DOCUMENT_CREATE_FROM_TEXT`

Add text you have (pasted by the user, or written with them) to a knowledge folder as a markdown document, so personas using the folder can search it. Counts towards the monthly knowledge upload quota.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `text` | string | Yes | The document, in markdown or plain text. |
| `title` | string | Yes | Document name. |
| `folderId` | string | Yes | Knowledge folder ID, from anam_knowledge_folder_list. |

### Anam knowledge document create from url

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_DOCUMENT_CREATE_FROM_URL`

Fetch a public web page or file and add it to a knowledge folder, so personas using the folder can search it. Web pages are saved as markdown text; PDF, DOCX, TXT, MD, CSV and JSON files as they are, up to 10MB. Only the one URL is read, not linked pages. Counts towards the monthly knowledge upload quota.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `url` | string | Yes | A public https URL. |
| `title` | string | No | Document name. Defaults to the page title or file name. |
| `folderId` | string | Yes | Knowledge folder ID, from anam_knowledge_folder_list. |

### Anam knowledge document delete

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_DOCUMENT_DELETE`

Deletes a knowledge document and its search index, so personas searching its folder no longer find its content.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Knowledge document ID, from `anam_knowledge_document_list` |

### Anam knowledge document download

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_DOCUMENT_DOWNLOAD`

Returns `downloadUrl`, a link to the document’s original file that works for an hour, and its `filename`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Knowledge document ID, from `anam_knowledge_document_list` |

### Anam knowledge document get

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_DOCUMENT_GET`

Returns a knowledge document: file name, type, size, folder (`knowledgeFolderId`), chunking and `status`. Only `READY` documents are searchable; a `FAILED` one has `errorMessage`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Knowledge document ID, from `anam_knowledge_document_list` |

### Anam knowledge document list

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_DOCUMENT_LIST`

Lists a knowledge folder’s documents: file name, type, size and `status`. Only `READY` documents are searchable; a `FAILED` one has `errorMessage`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Knowledge folder ID, from anam_knowledge_folder_list. |

### Anam knowledge document update

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_DOCUMENT_UPDATE`

Renames a knowledge document (`filename`, the only editable field) and returns it; the stored file and its chunks are unchanged. Chunk settings cannot be changed here: a non-null `chunkSize` or `chunkOverlap` returns 400; reprocess the document with a `chunkSize` and `chunkOverlap` to change them.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Knowledge document ID, from `anam_knowledge_document_list` |
| `filename` | string | No | New filename for the document |

### Anam knowledge folder create

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_FOLDER_CREATE`

Creates an empty knowledge folder and returns it with its `id`. Add documents with anam_knowledge_document_create_from_text or anam_knowledge_document_create_from_url, then let a persona search it with anam_persona_knowledge_add.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes |  |
| `chunkSize` | string | No | Default maximum tokens per chunk for this folder's documents; 350 when left out or null. |
| `description` | string | No |  |
| `chunkOverlap` | string | No | Default token overlap between this folder's chunks, at most half of `chunkSize` (175 without one); 0 when left out or null. |

### Anam knowledge folder delete

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_FOLDER_DELETE`

Deletes a knowledge folder and every document in it. Detach it from personas first with anam_persona_knowledge_remove.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Knowledge folder ID, from anam_knowledge_folder_list. |

### Anam knowledge folder get

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_FOLDER_GET`

Returns a knowledge folder: name, description, document count and chunking settings.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Knowledge folder ID, from anam_knowledge_folder_list. |

### Anam knowledge folder list

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_FOLDER_LIST`

Lists the organization’s knowledge folders: name, description and document count. anam_knowledge_document_list shows each document’s processing status.

### Anam knowledge folder search

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_FOLDER_SEARCH`

Searches a knowledge folder’s `READY` documents by meaning and returns the closest chunks, at most `limit`. Up to 60 searches a minute per organization, across keys and folders.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Knowledge folder ID, from anam_knowledge_folder_list. |
| `limit` | integer | No |  |
| `query` | string | Yes |  |

### Anam knowledge folder update

**Slug:** `ANAM_MCP_ANAM_KNOWLEDGE_FOLDER_UPDATE`

Changes a knowledge folder’s name, description or default chunk settings and returns it; fields left out are unchanged. Existing documents keep their chunks until they are next processed or revectorised.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Knowledge folder ID, from anam_knowledge_folder_list. |
| `name` | string | No |  |
| `chunkSize` | string | No | Default maximum tokens per chunk for the folder’s documents; null resets it to 350. |
| `description` | string | No |  |
| `chunkOverlap` | string | No | Default token overlap between chunks, at most half of `chunkSize` (175 without one); null resets it to 0. |

### Anam llm create

**Slug:** `ANAM_MCP_ANAM_LLM_CREATE`

Adds the organization’s own LLM endpoint and returns it; its `id` is a persona’s `llmId`.

Endpoint URLs, model and credentials for the LLM. `secret` is encrypted at rest and never returned. `llmFormat` is the upstream API's wire protocol: `openai`, `groq_openai` and `gemini` need `urls`, `modelName` and `secret`; `azure_openai` needs `urls`, `deploymentName`, `apiVersion` and `secret`; `none` needs only `displayName`.

`secret` is the provider API key; it can also be set in Lab.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `urls` | array | No |  |
| `secret` | string | No |  |
| `metadata` | object | No |  |
| `llmFormat` | string ("openai" | "azure_openai" | "groq_openai" | "gemini" | "none") | Yes |  |
| `maxTokens` | integer | No |  |
| `modelName` | string | No |  |
| `apiVersion` | string | No |  |
| `description` | string | No |  |
| `displayName` | string | Yes |  |
| `temperature` | string | No |  |
| `deploymentName` | string | No |  |
| `reasoningEffort` | string | No | Effort sent as is, such as `low`, `medium` or `high` (model-specific). Omit or null: model default. |
| `reasoningFormat` | string ("parsed" | "hidden") | No | Groq reasoning format hint. Omit or set null to use the model default. |

### Anam llm delete

**Slug:** `ANAM_MCP_ANAM_LLM_DELETE`

Deletes a custom LLM. While personas (or their drafts) use it, the delete is refused with 409, since their sessions would fail: move them to another LLM with anam_persona_update first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam llm get

**Slug:** `ANAM_MCP_ANAM_LLM_GET`

Returns an LLM: format, model, temperature, token limit, reasoning settings and, for a custom one, `urls`. API keys are never returned.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam llm list

**Slug:** `ANAM_MCP_ANAM_LLM_LIST`

Lists the LLMs personas can use, Anam’s defaults and the organization’s own: format, model and reasoning settings. Deprecated ones can’t be given to a persona. An LLM’s `id` is a persona’s `llmId`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `search` | string | No | Search term to filter LLMs |
| `perPage` | integer | No |  |
| `includeDefaults` | boolean | No | Include Anam’s default LLMs, not only your own. Only `true` or `false`. |

### Anam llm update

**Slug:** `ANAM_MCP_ANAM_LLM_UPDATE`

Changes a custom LLM (Anam’s defaults can’t be changed) and returns it; fields left out keep their values. `secret` is the provider API key: a new one replaces the stored key, leaving it out keeps it, and it can also be set in Lab. `urls` replaces the whole list, and adding a URL the LLM didn’t have needs the top-level `secret` in the same request (a per-URL `urls[].secret` isn’t enough), or it is refused with 400.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `urls` | array | No |  |
| `secret` | string | No |  |
| `metadata` | object | No |  |
| `llmFormat` | string ("openai" | "azure_openai" | "groq_openai" | "gemini" | "none") | No |  |
| `maxTokens` | integer | No |  |
| `modelName` | string | No |  |
| `apiVersion` | string | No |  |
| `description` | string | No |  |
| `displayName` | string | No |  |
| `temperature` | string | No |  |
| `deploymentName` | string | No |  |
| `reasoningEffort` | string | No | Effort sent as is, such as `low`, `medium` or `high` (model-specific). null resets to the default. |
| `reasoningFormat` | string ("parsed" | "hidden") | No | Groq reasoning format hint. Set null to clear and use the model default. |

### Anam meeting invite cancel

**Slug:** `ANAM_MCP_ANAM_MEETING_INVITE_CANCEL`

Cancels a pending meeting invite and returns nothing. Cancelling one already `cancelled`, `ended` or `failed` succeeds too.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam meeting invite create

**Slug:** `ANAM_MCP_ANAM_MEETING_INVITE_CREATE`

Invites a persona to join a Google Meet, Zoom or Microsoft Teams meeting and returns the invite, in `pending` status. Send `personaId` for a saved persona or `personaConfig` for one configured for this meeting only (not stored on the invite). The persona joins at once, or at `joinAt`; at least 10 minutes ahead reserves it a place.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `joinAt` | string | No | When to join: ISO 8601 with timezone, in the future and at most 7 days ahead. |
| `region` | string ("eu" | "us-east" | "us-west") | No | Region the persona joins from, best the one nearest the participants; chosen from the requester’s location when left out. |
| `groupCall` | boolean | No | True by default: the persona joins silently and responds only when addressed by its display name. Ignored for a persona on an ElevenLabs agent, whose own prompt decides when it speaks. |
| `personaId` | string | No | Saved persona ID. Mutually exclusive with `personaConfig`. |
| `meetingUrl` | string | Yes | The meeting’s URL; `https://` is assumed without a scheme. |
| `clientLabel` | string | No | Label on the created session, for analytics and debugging. |
| `displayName` | string | No | Participant name; gets an AI disclosure suffix unless it has one or `aiDisclosure` is false. |
| `aiDisclosure` | boolean | No | True by default: the display name ends in " (AI)" and the persona’s video shows an AI label. |
| `regionPolicy` | string ("preferred" | "strict") | No | How strictly to honor the selected region. |
| `personaConfig` | object | No | Runtime persona configuration to use for this invite. Mutually exclusive with `personaId`; it must not include `personaId`. Fields: name, personaPreset, avatarId, avatarModel, voiceId, voiceSpeed, llmId, systemPrompt, personality, maxSessionLengthSeconds, languageCode, metadata, skipGreeting, uninterruptibleGreeting, initialMessage, zeroDataRetention, tools, toolIds, voiceDetectionOptions, voiceGenerationOptions. |
| `sessionOptions` | object | No | Optional session-level configuration for the meeting session. A sessionReplay sent alongside dataRetention with enableSessionReplay false, or with no value, turns both off. Fields: dataRetention. |

### Anam meeting invite get

**Slug:** `ANAM_MCP_ANAM_MEETING_INVITE_GET`

Returns a meeting invite: meeting URL and provider, `status` (`pending`, `active`, `ended`, `cancelled` or `failed`, with `statusReason`), `joinState`, join time and, once the persona joins, `sessionId`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam meeting invite list

**Slug:** `ANAM_MCP_ANAM_MEETING_INVITE_LIST`

Lists the organization’s meeting invites, newest first. Filter by `status`, such as `pending` (not joined yet) or `active` (in a call).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `status` | string ("pending" | "active" | "cancelled" | "ended" | "failed") | No | Filter invites by status |
| `perPage` | integer | No |  |

### Anam options

**Slug:** `ANAM_MCP_ANAM_OPTIONS`

Avatars, voices and LLMs a persona can use, with Anam’s recommended picks. `search` matches names, descriptions and tags: use broad words (`woman`, `office`, `friendly`); roles such as `receptionist` rarely match. Voices list their languages. Use the IDs with anam_persona_create, anam_persona_update or anam_quickstart. When creating a persona, leave `llmId` out for Anam’s recommended LLM unless the user asks for another; when updating, leave it out to keep the persona’s LLM.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `limit` | integer | No | The most items per list. |
| `gender` | string ("male" | "female" | "neutral") | No | Voices of this gender. |
| `search` | string | No | Filter every list by name, description or tag. |
| `country` | string | No | Voices with this ISO 3166-1 country (accent), such as `GB`. |
| `include` | array | No | Which lists to return. Defaults to all three. |
| `language` | string | No | Voices that speak this ISO 639-1 language, such as `es`. |
| `avatarStyle` | string ("realistic" | "animated_3d" | "illustrated") | No | Only avatars of this render style. |
| `includeMedia` | boolean | No | Add image and voice sample URLs. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `llms` | object | No |  |
| `errors` | array | No |  |
| `voices` | object | No |  |
| `avatars` | object | No |  |
| `resultTrimmed` | string | No |  |

### Anam persona create

**Slug:** `ANAM_MCP_ANAM_PERSONA_CREATE`

Creates a persona and returns it with its `id`; anam_share_link_create gives it a link anyone can open to talk to it. `zeroDataRetention: true` needs an enterprise plan and a ZDR-compatible voice, LLM and `voiceDetectionOptions.sttProvider`.

anam_quickstart (your prompt or a role) and anam_persona_from_brief (a description) instead pick defaults and add a share link.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name of the persona |
| `llmId` | string | No | LLM ID, from anam_options. Leave it out for Anam’s default LLM, which is fast and suits most personas; set it only when the user asks for a particular LLM. `CUSTOMER_CLIENT_V1` turns Anam’s LLM off, for apps that send their own LLM’s words with the SDK’s talk(). |
| `toolIds` | array | No | Tool IDs to attach. |
| `voiceId` | string | No | Voice ID, from anam_options. |
| `avatarId` | string | No | Avatar ID, from anam_options. |
| `avatarModel` | string ("cara-3" | "cara-4" | "cara-4.1-express" | "cara-4-latest") | No | `cara-4` is stable; `cara-4-latest` tracks the newest and may change between sessions. |
| `description` | string | No | A note for Lab; it doesn’t affect behaviour. |
| `languageCode` | string | No | Language the persona speaks and hears: ISO 639-1 such as `es` (`yue` for Cantonese), or `inherit` for the organization’s. When set, `voiceDetectionOptions.sttLanguages` overrides what it hears. Pick a voice that speaks it (anam_options `language`). |
| `skipGreeting` | boolean | No | Skip the greeting when a session starts. |
| `systemPrompt` | string | No | System prompt, saved into `brain`. |
| `directorNotes` | string | No | As in anam_persona_update. |
| `initialMessage` | string | No | What the persona says first. Empty or left out, it greets in its own words. |
| `elevenLabsAgentId` | string | No | ID of an ElevenLabs agent the persona runs on. The agent provides speech recognition, the LLM, the voice and turn-taking; Anam renders the face. |
| `zeroDataRetention` | boolean | No | Don’t store session data after the conversation. |
| `dynamicDirectorNotes` | boolean | No | As in anam_persona_update; on by default with a Cara 4 model. |
| `voiceDetectionOptions` | object | No | Voice detection options. |
| `voiceGenerationOptions` | object | No | Configuration options for voice generation. One of: ElevenLabs V1 (stability, similarityBoost, speed); ElevenLabs V2 (stability, similarityBoost, style, useSpeakerBoost, speed, model); ElevenLabs V3 (stability, model); ElevenLabs V4 (stability, similarityBoost, model); Cartesia Sonic-3 (volume, speed, emotion); Fish Audio (volume, speed). |
| `maxSessionLengthSeconds` | string | No | Longest session with this persona, in seconds; it can only shorten the plan's limit. Omit or send `null` for no persona limit. |
| `uninterruptibleGreeting` | boolean | No | The user can't interrupt the greeting. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `name` | string | No |  |
| `llmId` | string | No |  |
| `voice` | string | No |  |
| `avatar` | string | No |  |
| `toolIds` | array | No |  |
| `resultTrimmed` | string | No |  |

### Anam persona delete

**Slug:** `ANAM_MCP_ANAM_PERSONA_DELETE`

Deletes a persona; one that is missing or already deleted returns 404.

Its tools aren’t deleted. A `Knowledge_<persona>` tool from anam_persona_knowledge_add is left unused: delete it with anam_tool_delete unless another persona uses it.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam persona from brief

**Slug:** `ANAM_MCP_ANAM_PERSONA_FROM_BRIEF`

Creates a persona from a plain description, when there’s no prompt yet: Lab’s Persona Design writes its name, greeting and system prompt, and may invent a character name and details for the user to review. Uses Anam’s recommended avatar and LLM and a stock voice suiting the avatar unless IDs are given. By default also creates a public share link (up to 10 sessions over 7 days, on the organization’s minutes). 20 designs per organization an hour.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | No | Persona name. Defaults to one Persona Design chooses. |
| `brief` | string | Yes | Who the persona is, who it talks to, what it should do and avoid, in plain words. |
| `llmId` | string | No | LLM ID, from anam_options. Leave it out for Anam’s default LLM, which is fast and suits most personas; set it only when the user asks for a particular LLM. |
| `voiceId` | string | No | From anam_options. |
| `avatarId` | string | No | From anam_options. |
| `createShareLink` | boolean | No | Also create a share link to talk to the persona. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `note` | string | No |  |
| `labUrl` | string | No |  |
| `persona` | object | No |  |
| `shareLink` | string | No |  |
| `systemPrompt` | string | No |  |
| `resultTrimmed` | string | No |  |
| `initialMessage` | string | No |  |

### Anam persona get

**Slug:** `ANAM_MCP_ANAM_PERSONA_GET`

Returns a persona’s full configuration: system prompt (`brain`), avatar, voice, LLM, `toolIds` and tools, knowledge, share links and session settings.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `name` | string | No |  |
| `brain` | object | No |  |
| `llmId` | string | No |  |
| `tools` | array | No |  |
| `voice` | string | No |  |
| `avatar` | string | No |  |
| `toolIds` | array | No |  |
| `updatedAt` | string | No |  |
| `resultTrimmed` | string | No |  |

### Anam persona knowledge add

**Slug:** `ANAM_MCP_ANAM_PERSONA_KNOWLEDGE_ADD`

Let a persona search more knowledge folders during calls. The persona searches them through a knowledge tool, as on Lab’s Build page; other personas using the same tool change too. Its other tools are kept.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `folderIds` | array | Yes | Knowledge folder IDs, from anam_knowledge_folder_list. |
| `personaId` | string | Yes |  |

### Anam persona knowledge remove

**Slug:** `ANAM_MCP_ANAM_PERSONA_KNOWLEDGE_REMOVE`

Stop a persona searching these knowledge folders. The folders and documents are kept. The persona searches them through a knowledge tool, as on Lab’s Build page; other personas using the same tool change too. Its other tools are kept.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `folderIds` | array | Yes | Knowledge folder IDs, from anam_knowledge_folder_list. |
| `personaId` | string | Yes |  |

### Anam persona list

**Slug:** `ANAM_MCP_ANAM_PERSONA_LIST`

Lists the organization’s personas, newest first, with paging in `meta`: a summary of each (name, avatar, voice, `llmId`, language, description to 200 characters); anam_persona_get has the rest. `search` matches names.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `search` | string | No | filter personas by name |
| `perPage` | integer | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `meta` | object | No |  |
| `resultTrimmed` | string | No |  |

### Anam persona update

**Slug:** `ANAM_MCP_ANAM_PERSONA_UPDATE`

Changes a persona and returns it.

Partial persona update; fields left out keep their values. A new `avatarId` may reset `avatarModel` if the avatar doesn't support it, and a new `voiceId` resets `voiceGenerationOptions` unless new ones are sent. `voiceGenerationOptions` sent with the current `voiceId` are merged into the saved ones (so a key can't be removed that way), sent without `voiceId` replace them, and `null` clears them. They must suit the voice's model, or the `model` override when set.

Published at once, not as a draft: new sessions and share links use it straight away. `toolIds` replaces the whole tool list, knowledge tools included. anam_persona_knowledge_add and anam_persona_knowledge_remove attach and detach knowledge folders.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `name` | string | No | Name of the persona |
| `llmId` | string | No | LLM ID, from anam_options. Leave it out to keep the persona’s LLM; change it only when the user asks for a particular LLM. `CUSTOMER_CLIENT_V1` turns Anam’s LLM off, for apps that send their own LLM’s words with the SDK’s talk(). |
| `toolIds` | array | No | The whole list; send every ID to keep. |
| `voiceId` | string | No | Voice ID, from anam_options. |
| `avatarId` | string | No | Avatar ID, from anam_options. |
| `avatarModel` | string ("cara-3" | "cara-4" | "cara-4.1-express" | "cara-4-latest") | No | `cara-4` is stable; `cara-4-latest` tracks the newest and may change between sessions. |
| `description` | string | No | A note for Lab; it doesn’t affect behaviour. |
| `languageCode` | string | No | Language the persona speaks and hears: ISO 639-1 such as `es` (`yue` for Cantonese), or `inherit` for the organization’s. When set, `voiceDetectionOptions.sttLanguages` overrides what it hears. Pick a voice that speaks it (anam_options `language`). |
| `skipGreeting` | boolean | No | Skip the greeting when a session starts. |
| `systemPrompt` | string | No | System prompt for the LLM |
| `widgetConfig` | object | No | Widget settings to change, merged into the saved ones; fields left out keep their values. Fields: callToAction, allowedOrigins, allowEverywhere, layout, initialState, position, showTextInput, showMuteButton, showTranscript, showPreviewVideo. |
| `directorNotes` | string | No | Lab’s Director Notes, for Cara 4 models. Fields sent are merged into the saved notes; a `presetStyle` and the custom style prompts replace each other. `null` clears them. |
| `initialMessage` | string | No | What the persona says first. Empty or left out, it greets in its own words. |
| `elevenLabsAgentId` | string | No | ID of an ElevenLabs agent the persona runs on, or `null` to run it on its own voice and LLM again (it must have an `llmId` or `brainType`, and a `voiceId` to start sessions; send any it lacks with th… |
| `expectedUpdatedAt` | string | No | The persona’s `updatedAt` from your last read: if it has changed since, the update is refused with 409. Omit to update unconditionally. |
| `zeroDataRetention` | boolean | No | Don’t store session data after the conversation. |
| `dynamicDirectorNotes` | boolean | No | Lab’s Dynamic director notes: emotion cues such as [happy] in replies, from a `# STYLE CUES` prompt section. Cara 4 models only. |
| `voiceDetectionOptions` | string | No | Merged into the saved options; `null` resets them to the defaults. |
| `voiceGenerationOptions` | string | No | Configuration options for voice generation. Send `null` to clear them. Fields: stability, similarityBoost, speed, style, useSpeakerBoost, model, volume, emotion. |
| `maxSessionLengthSeconds` | string | No | Longest session with this persona, in seconds; it can only shorten the plan's limit. Send `null` to remove it. |
| `uninterruptibleGreeting` | boolean | No | The user can't interrupt the greeting. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `name` | string | No |  |
| `brain` | object | No |  |
| `llmId` | string | No |  |
| `tools` | array | No |  |
| `voice` | string | No |  |
| `avatar` | string | No |  |
| `toolIds` | array | No |  |
| `updatedAt` | string | No |  |
| `resultTrimmed` | string | No |  |

### Anam persona widget get

**Slug:** `ANAM_MCP_ANAM_PERSONA_WIDGET_GET`

Returns a persona’s saved widget display settings and avatar media, without origin access controls. An idle preview that is missing or unavailable is null (show `avatarImageUrl` instead) and says nothing about whether a call can start.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam pronunciation dictionary create

**Slug:** `ANAM_MCP_ANAM_PRONUNCIATION_DICTIONARY_CREATE`

Creates a pronunciation dictionary. Select it for a session with `voiceGenerationOptions.pronunciationDictionaryId`.

Entries are validated as a whole: if any entry is invalid, nothing is saved and the response lists every error by one-based row.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Display name. Names don't have to be unique; leading and trailing spaces are removed. |
| `entries` | array | No | Dictionary entries. Omit to create an empty dictionary. Each item has the fields text, kind, pronunciation, soundsLike, caseSensitive. |

### Anam pronunciation dictionary delete

**Slug:** `ANAM_MCP_ANAM_PRONUNCIATION_DICTIONARY_DELETE`

Archives a pronunciation dictionary for good: it leaves the API and Lab, and sessions can’t select it. Its entries and history are kept until the organization is deleted. One a persona uses is refused with 409 `DICTIONARY_ATTACHED` and the persona IDs; remove it from those personas in Lab first. One that pending or running avatar videos use is refused with 409 `DICTIONARY_IN_USE` and their IDs; archive it once they finish or are cancelled.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `expectedRevision` | integer | No | The revision you last read; if the dictionary was saved since, deleting gets 409 REVISION_CONFLICT. |

### Anam pronunciation dictionary get

**Slug:** `ANAM_MCP_ANAM_PRONUNCIATION_DICTIONARY_GET`

Returns a pronunciation dictionary with its entries and current revision.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam pronunciation dictionary import

**Slug:** `ANAM_MCP_ANAM_PRONUNCIATION_DICTIONARY_IMPORT`

Creates a pronunciation dictionary from a Cartesia pronunciation dictionary file: an array of `{ text, pronunciation, case_sensitive? }` rows, with an optional Anam `sounds_like` fallback. A pronunciation containing `<<` or `>>` is imported as an IPA entry, anything else as a sounds-like one. The file must hold 1 to 500 rows in at most 1 MiB of UTF-8 JSON (an array is measured without whitespace). If any row is invalid, nothing is saved and every error is listed by row.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `json` | string | Yes | The file's rows, either as an array or as the file's contents in a string. |
| `name` | string | Yes | Display name for the new dictionary |

### Anam pronunciation dictionary list

**Slug:** `ANAM_MCP_ANAM_PRONUNCIATION_DICTIONARY_LIST`

Lists your organization's pronunciation dictionaries, newest first. Archived dictionaries are not listed. Entries are omitted; read a dictionary to get them.


#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `perPage` | integer | No |  |

### Anam pronunciation dictionary update

**Slug:** `ANAM_MCP_ANAM_PRONUNCIATION_DICTIONARY_UPDATE`

Changes a pronunciation dictionary’s `name`, `entries` or both and returns it; `entries` replaces the whole list. The save is live: sessions that start afterwards use the new entries, and running ones keep theirs. With `expectedRevision`, the update is refused with 409 `REVISION_CONFLICT` if the dictionary was saved since; without it, the last write wins. If any entry is invalid, nothing is saved and every error is listed by row.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `name` | string | No | New display name |
| `entries` | array | No | The complete new list of entries. An empty array removes every entry. Each item has the fields text, kind, pronunciation, soundsLike, caseSensitive. |
| `expectedRevision` | integer | No | The revision you last read. Optional. |

### Anam quickstart

**Slug:** `ANAM_MCP_ANAM_QUICKSTART`

Creates a persona with `systemPrompt`, else the `template`’s prompt, and Anam’s recommended avatar, voice and LLM unless IDs are given. By default also creates a public share link (up to 10 sessions over 7 days, on the organization’s minutes). Returns the persona, its Lab page and the link’s URL.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Persona name. |
| `llmId` | string | No | LLM ID, from anam_options. Leave it out for Anam’s default LLM, which is fast and suits most personas; set it only when the user asks for a particular LLM. |
| `voiceId` | string | No | From anam_options. |
| `avatarId` | string | No | From anam_options. |
| `template` | string ("sales" | "support" | "receptionist" | "tutor" | "interviewer" | "anam-demo") | No | A starting system prompt for this role. |
| `description` | string | No | Optional note for Lab. |
| `systemPrompt` | string | No | Who the persona is and how it should behave. Wins over `template`; defaults to it, or a general assistant. |
| `createShareLink` | boolean | No | Also create a share link to talk to the persona. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `labUrl` | string | No |  |
| `persona` | object | Yes |  |
| `shareLink` | string | No |  |
| `resultTrimmed` | string | No |  |

### Anam scaffold

**Slug:** `ANAM_MCP_ANAM_SCAFFOLD`

Starter files that put a persona in the user’s app, to write yourself: a server route that swaps the `ANAM_API_KEY` environment variable for a short-lived session token, a page using `@anam-ai/js-sdk`, an env file without the key, and install and run commands. `express` and `fastapi` come with a Vite page.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `stack` | string ("nextjs" | "express" | "fastapi") | Yes |  |
| `personaId` | string | Yes | The persona to talk to. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `docs` | array | No |  |
| `open` | string | No |  |
| `files` | array | Yes |  |
| `label` | string | No |  |
| `stack` | string | No |  |
| `envVars` | array | No |  |
| `persona` | object | No |  |
| `commands` | array | No |  |
| `resultTrimmed` | string | No |  |

### Anam session analytics get

**Slug:** `ANAM_MCP_ANAM_SESSION_ANALYTICS_GET`

Returns per-turn latency for a session, where time went from transcription through the LLM and TTS to first audio, and session totals. It is 404 until the session has ended and its report has arrived, and always for LiveKit and audio-passthrough sessions. Message text needs `includeMessages: true` and transcripts on.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `includeMessages` | boolean | No | When true, include the user/assistant message text on each turn. |

### Anam session concurrency get

**Slug:** `ANAM_MCP_ANAM_SESSION_CONCURRENCY_GET`

Returns the organization’s concurrent-session limit, about how many sessions are in use, whether a new one can likely start and an estimated wait for a free slot. It is advisory: the count can briefly over-report, and a start can still be refused with 429.

### Anam session delete

**Slug:** `ANAM_MCP_ANAM_SESSION_DELETE`

Permanently delete customer data from an ended session. `scope` `all` (default): the report (transcript, analytics, tool calls), insights, summary, recording, requester IP and location, client label and metadata, persona text and meeting link; `recording`: the video only; `report`: the report, insights and summary only. The session record and usage stay for billing. Irreversible; repeating it succeeds.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes | Session ID. |
| `scope` | string ("all" | "recording" | "report") | No |  |

### Anam session get

**Slug:** `ANAM_MCP_ANAM_SESSION_GET`

Returns a session and, once it has ended and its report has arrived, its `toolCalls` (never for LiveKit or audio-passthrough sessions): names, timing, status and errors, with arguments and results only when transcripts were on and the session isn’t zero-data-retention. What was said is in anam_session_transcript_get. `recording.status` and `transcript.status` say whether there is a recording or transcript to fetch.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `endTime` | string | No |  |
| `personaId` | string | No |  |
| `recording` | object | No |  |
| `startTime` | string | No |  |
| `toolCalls` | array | No |  |
| `exitStatus` | string | No |  |
| `transcript` | object | No |  |
| `resultTrimmed` | string | No |  |

### Anam session insights

**Slug:** `ANAM_MCP_ANAM_SESSION_INSIGHTS`

How calls went and what stands out (`findings`): start here to judge one call or a period. With `sessionId`: reply speed, interruptions, slowest turns, failed tool calls, errors and the first and last messages. Without: one roll-up of the sessions in the range, or of one persona’s with `personaId` (last 24 hours by default; analytics cover at most 31 days): the session count, durations and exit statuses of the newest sessions read, latency and failure rates. To compare personas, call it once per persona. `CLOSED_BY_ENGINE` includes a normal end of call by the user or app.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `to` | string | No | Roll up sessions before this. |
| `from` | string | No | Roll up sessions from this ISO 8601 date-time, such as 2026-11-01T00:00:00Z. |
| `personaId` | string | No | Roll up this persona only. |
| `sessionId` | string | No | One session to look at. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `note` | string | No |  |
| `session` | object | No |  |
| `findings` | array | Yes |  |
| `sessions` | object | No |  |
| `analytics` | object | No |  |
| `transcript` | object | No |  |
| `resultTrimmed` | string | No |  |
| `failedToolCalls` | array | No |  |

### Anam session list

**Slug:** `ANAM_MCP_ANAM_SESSION_LIST`

Lists the organization’s sessions (conversations with a persona), newest first, with paging in `meta`: a summary of each (persona, client label, start, end, length, exit status, whether a recording and transcript exist); anam_session_get has the rest. `CLOSED_BY_ENGINE` includes a normal end of call by the user or app. anam_session_search finds calls by what was said; anam_session_insights says how they went.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `to` | string | No | Created before this time, which must be later than `from`; same format. |
| `from` | string | No | Created at or after this ISO 8601 date-time with an offset (`2026-11-01T00:00:00Z`) or date (`2026-11-01`, midnight UTC). |
| `page` | integer | No |  |
| `active` | boolean | No | `true` for active sessions, `false` for ended ones. |
| `search` | string | No | Matches session IDs and client labels. |
| `perPage` | integer | No |  |
| `apiKeyId` | string | No | Filter sessions by API key ID |
| `personaId` | string | No | Filter sessions by persona ID |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | array | Yes |  |
| `meta` | object | No |  |
| `resultTrimmed` | string | No |  |

### Anam session recording get

**Slug:** `ANAM_MCP_ANAM_SESSION_RECORDING_GET`

Returns a presigned URL, valid for an hour, to download the session’s recording. Check the session’s `recording.status` first: only `available` has one. Recordings are kept for 30 days after the session ends (`recording.expiresAt`), except a strictly region-pinned avatar video’s, which doesn’t expire (`expiresAt` is null); zero-data-retention and LiveKit sessions, and ones with recording turned off, have none.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam session search

**Slug:** `ANAM_MCP_ANAM_SESSION_SEARCH`

Find calls by date, persona and what was said. Without `text`, returns a compact list of sessions, newest first. With `text`, also reads the transcripts of up to 25 of the newest matching sessions and returns those that mention it, with snippets; narrow the date range to search further back. With `sessionId`, reads that session’s whole transcript instead, 50 messages at a time (`limit`, up to 100): pass the returned `nextOffset` as `offset` until it is null.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `to` | string | No | Sessions created before this date or date-time. |
| `from` | string | No | Sessions created at or after this ISO 8601 date or date-time, such as 2026-11-01. |
| `text` | string | No | Words to look for in transcripts (not case sensitive). |
| `limit` | integer | No | The most sessions to list (default 20), or to scan with `text` (at most 25); with `sessionId`, the most messages (default 50). |
| `offset` | integer | No | With `sessionId`: the previous page’s `nextOffset`. |
| `personaId` | string | No |  |
| `sessionId` | string | No | A session `id` whose transcript to read. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `note` | string | No |  |
| `total` | integer | No |  |
| `scanned` | integer | No |  |
| `messages` | array | No |  |
| `sessions` | array | No |  |
| `nextOffset` | string | No |  |
| `totalInRange` | integer | No |  |
| `resultTrimmed` | string | No |  |
| `totalMessages` | integer | No |  |
| `transcriptsEnabled` | boolean | No |  |

### Anam session stats

**Slug:** `ANAM_MCP_ANAM_SESSION_STATS`

Returns latency percentiles (p50, p90, p95, p99, max, avg) for each stage from transcription through the LLM and TTS to first audio, interruption and error rates, tool call outcomes and the slowest turns, across sessions. Only sessions where Anam runs the conversation (turnkey, custom LLM, ElevenLabs agent) have analytics; LiveKit and audio-passthrough ones count in `sessionCount` only. It reads the 1,000 newest matching sessions with analytics; `truncated` says more matched. The last 24 hours by default, up to 31 days.

anam_session_insights summarises the same with findings.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `to` | string | No | End of the time range (ISO 8601). Defaults to now. |
| `from` | string | No | Start of the time range (ISO 8601). Defaults to 24 hours before `to`. |
| `apiKeyId` | string | No | Only include sessions minted by this API key. |
| `personaId` | string | No | Only include sessions for this persona. |
| `clientLabel` | string | No | Only include sessions whose client label matches exactly. |
| `sessionType` | string ("turnkey" | "custom_llm_server" | "custom_llm_client" | "livekit" | "elevenlabs_agent") | No | Only include sessions of this type. |

### Anam session stop

**Slug:** `ANAM_MCP_ANAM_SESSION_STOP`

Ends a running session at once: the engine disconnects the client. Its `endTime`, exit status and report follow shortly after, so anam_session_get may briefly still show it active.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam session token create

**Slug:** `ANAM_MCP_ANAM_SESSION_TOKEN_CREATE`

Returns a session token a client SDK starts sessions with: a short-lived secret, billed to this organization, for trying an app locally. `personaConfig.personaId` uses a saved persona; `avatarId`, `voiceId`, `llmId` and `systemPrompt` there configure one at run time. The token is bound to this config and limited by `expiresInSeconds` and `maxSessions`. Production apps mint tokens on their server with an API key (anam_integration_guide).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `clientLabel` | string | No | Label for the session. |
| `environment` | object | No | Optional engine routing or transport integration environment. The integration type may be supplied explicitly or inferred from the LiveKit, Agora, or ElevenLabs Agent settings. Fields: type, livekitUrl, livekitToken, agoraSettings, elevenLabsAgentSettings. |
| `maxSessions` | integer | No | The most sessions the token can start, 1 to 100; 10 when left out. Every start counts, a failed one too, and the JS SDK tries a start up to 3 times. |
| `personaConfig` | object | No | Persona configuration. Fields: name, avatarId, avatarModel, voiceId, llmId, systemPrompt, maxSessionLengthSeconds, skipGreeting, uninterruptibleGreeting, initialMessage, voiceDetectionOptions, languageCode, voiceGenerationOptions, directorNotes, tools, toolIds, enableAudioPassthrough, zeroDataRetention, personaId. |
| `sessionOptions` | object | No | Fields: dataRetention, videoQuality, showAIAvatarDisclosure, region, regionPolicy, videoWidth, videoHeight, egress. |
| `expiresInSeconds` | integer | No | Seconds the token can start sessions for, 120 to 3600; an hour when left out. |

### Anam session transcript get

**Slug:** `ANAM_MCP_ANAM_SESSION_TRANSCRIPT_GET`

Returns a session’s conversation, 50 messages at a time unless `limit` (up to 100) says otherwise: pass the returned `nextOffset` as `offset` until it is null. `totalMessages` counts them all. Check the session’s `transcript.status` first: only `available` has messages. `in_progress` and `no_report` can change once the call ends and its report arrives, shortly after.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `limit` | integer | No | The most messages to return, 1 to 100; 50 when left out. |
| `offset` | integer | No | Index of the first message to return. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `messages` | array | Yes |  |
| `nextOffset` | string | No |  |
| `resultTrimmed` | string | No |  |
| `totalMessages` | integer | No |  |
| `transcriptsEnabled` | boolean | No |  |

### Anam share link create

**Slug:** `ANAM_MCP_ANAM_SHARE_LINK_CREATE`

Creates a link that opens a persona in a browser and returns it with its `url`. Anyone with the link can talk to the persona until it expires (`expiresInHours`, 168 by default) or runs out of uses (`usageLimit`, 10 by default).

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `personaId` | string | Yes |  |
| `usageLimit` | number | No |  |
| `expiresInHours` | number | No |  |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `url` | string | Yes |  |
| `expiresAt` | string | No |  |
| `usageLimit` | string | No |  |
| `resultTrimmed` | string | No |  |

### Anam share link delete

**Slug:** `ANAM_MCP_ANAM_SHARE_LINK_DELETE`

Deletes a share link; its `url` stops working.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam share link get

**Slug:** `ANAM_MCP_ANAM_SHARE_LINK_GET`

Returns a share link: its public `url`, persona, expiry, usage, allowed origins and whether it is enabled.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam share link list

**Slug:** `ANAM_MCP_ANAM_SHARE_LINK_LIST`

Lists the organization’s share links, with paging in `meta`: the public `url` that opens the persona in a browser, persona, expiry, usage and whether it is enabled. Filter by `personaId` or `search`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `search` | string | No | Search term to filter share links |
| `perPage` | integer | No |  |
| `personaId` | string | No | Filter share links by persona ID |

### Anam share link update

**Slug:** `ANAM_MCP_ANAM_SHARE_LINK_UPDATE`

Changes a share link’s lifetime or usage limit and returns it; fields left out are unchanged.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `usageLimit` | number | No |  |
| `expiresInHours` | number | No |  |

### Anam tool create

**Slug:** `ANAM_MCP_ANAM_TOOL_CREATE`

Creates a tool a persona can call during sessions and returns it. A persona uses it once its `id` is in the persona’s `toolIds` (anam_persona_update, sending every ID to keep).

Tool definition. `config` depends on `type`. For example: `{"name":"lookup_order","description":"Look up an order by its number","type":"SERVER_WEBHOOK","config":{"url":"https://api.example.com/orders","method":"POST","awaitResponse":true,"parameters":{"type":"object","properties":{"orderId":{"type":"string","description":"The caller's order number"}},"required":["orderId"]}}}`.

anam_persona_knowledge_add gives a persona knowledge folders the way Lab does, without a hand-made SERVER_RAG tool.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Saved with `_` for anything but letters, digits, `_`, `.` and `-`, spaces included. Needn’t be unique. |
| `type` | string ("CLIENT" | "SERVER_RAG" | "SERVER_WEBHOOK") | Yes | `CLIENT` sends the call to the client SDK, `SERVER_RAG` searches knowledge folders and `SERVER_WEBHOOK` calls a URL. `SYSTEM` tools (end_call, interrupt) are Anam's own and can't be created. |
| `config` | string | No | Settings in the shape for the tool's `type`; fields of other shapes are stored but not used. `null` saves an empty config. |
| `description` | string | Yes | What the tool does; the LLM reads it to decide when to call it. |
| `disableInterruptions` | boolean | No | The user can't interrupt the persona while this tool runs. Defaults to false. |

### Anam tool delete

**Slug:** `ANAM_MCP_ANAM_TOOL_DELETE`

Deletes a persona tool. Its `usageCount` (anam_tool_get) says how many personas use it; take it out of their `toolIds` first. Anam’s system tools can’t be deleted.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam tool get

**Slug:** `ANAM_MCP_ANAM_TOOL_GET`

Returns a persona tool: name, description, type, config and `usageCount`.

A webhook config shows its structure, not its values: header values, URL IDs and tokens, query values and body template values show as •••• (a `Bearer` scheme, `{{placeholders}}`, header names, JSON keys and the host stay). Send them back unchanged to keep them.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam tool list

**Slug:** `ANAM_MCP_ANAM_TOOL_LIST`

Lists the organization’s persona tools, with paging in `meta`: name, type (`SERVER_RAG` is knowledge), config and `usageCount` (personas using it). A persona uses the tools whose IDs are in its `toolIds`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `search` | string | No | Part of a name or description, or an ID. Spaces and `_` match each other. |
| `perPage` | integer | No |  |

### Anam tool update

**Slug:** `ANAM_MCP_ANAM_TOOL_UPDATE`

Changes a persona tool and returns it.

Fields to change; fields left out keep their values. `config` replaces the whole stored config. System tools can't be changed, and a tool can't become `SYSTEM`.

Values shown as •••• keep what is stored when sent back unchanged, while `type`, `config.url` and routing headers such as `Host` stay as stored; a new URL, type or routing header needs the real values.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `name` | string | No | Saved with `_` for anything but letters, digits, `_`, `.` and `-`, spaces included. Needn’t be unique. |
| `type` | string ("CLIENT" | "SERVER_RAG" | "SERVER_WEBHOOK") | No | Updated tool type |
| `config` | string | No | Settings in the shape for the tool's `type`; fields of other shapes are stored but not used. `null` saves an empty config. |
| `description` | string | No | Updated description of what the tool does |
| `expectedUpdatedAt` | string | No | The tool’s `updatedAt` from your last read (null if it was null): if it has changed since, the update is refused with 409. |
| `disableInterruptions` | boolean | No | The user can't interrupt the persona while this tool runs. Defaults to false. |

### Anam usage get

**Slug:** `ANAM_MCP_ANAM_USAGE_GET`

The organization’s plan and its limits now: session minutes used and left this billing period, live sessions against the concurrency limit, the longest session allowed, and knowledge uploads this calendar month (UTC) against the monthly allowance.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `note` | string | No |  |
| `plan` | object | No |  |
| `minutes` | object | No |  |
| `concurrency` | object | No |  |
| `billingPeriod` | object | No |  |
| `resultTrimmed` | string | No |  |
| `knowledgeUploads` | object | No |  |
| `maxSessionMinutes` | string | No |  |

### Anam voice add

**Slug:** `ANAM_MCP_ANAM_VOICE_ADD`

A Lab link where the user records or uploads a sample of their own voice, or imports one from ElevenLabs, with consent; audio and keys stay out of the chat. Nothing is created until they act on the page. Then check anam_voice_add_status. Lasts 30 minutes, works once.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mode` | string ("any" | "record" | "upload" | "elevenlabs") | No | What the page opens on; `any` by default. |
| `name` | string | No | Suggested voice name. |
| `language` | string | No | ISO 639-1, such as `en`. |
| `personaId` | string | No | The persona it’s for. |

### Anam voice add status

**Slug:** `ANAM_MCP_ANAM_VOICE_ADD_STATUS`

An anam_voice_add link’s result: `pending`, `completed` with the new `voiceId` (and `personaUpdated` when the link named a persona this connection can read), `cancelled` or `expired`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `requestId` | string | Yes |  |

### Anam voice clone

**Slug:** `ANAM_MCP_ANAM_VOICE_CLONE`

Clone a voice from a recording of one person speaking, fetched from a public URL, and return the new voice; its `id` is a persona’s `voiceId`. Only clone the voice of someone who has consented. Cloning runs on Anam’s voice provider and needs a plan with voice cloning. Each call creates another voice, so check anam_voice_list before retrying. It shares the organization’s hourly limit for voice imports and model changes.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `name` | string | Yes | Name for the new voice. |
| `audioUrl` | string | Yes | Public http(s) URL of WAV, MP3, WebM or OGG audio, up to 10 MB; 10 to 15 s of clear speech is best. |
| `language` | string | No | Language spoken in the recording, as an ISO 639-1 code such as `en` (the default) or `es`. |
| `description` | string | No | What the voice is for. |

### Anam voice delete

**Slug:** `ANAM_MCP_ANAM_VOICE_DELETE`

Deletes a voice from Anam, then from its provider. While personas (or their drafts) use it, the delete is refused with 409, since their sessions would have no voice: move them to another voice with anam_persona_update first.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam voice get

**Slug:** `ANAM_MCP_ANAM_VOICE_GET`

Returns a voice: provider and model, gender, accent (`country`), description and sample URL. Its `id` is a persona’s `voiceId`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |

### Anam voice import

**Slug:** `ANAM_MCP_ANAM_VOICE_IMPORT`

Imports a provider voice and returns it; its `id` is a persona’s `voiceId`. The voice is saved once a speech sample generates with it: up to 95 seconds, and about a minute for a first ElevenLabs Voice Library import.

Only use voices of people who have consented. An import creates a new voice and generates a speech sample on Anam’s provider account, or with `useOrganizationKey: true` on the organization’s saved ElevenLabs key and its credits (for its own clones and designed voices). Retrying creates another voice, so check `anam_voice_list` first. A `shareUrl` (instead of `provider` and `providerVoiceId`) imports a Professional Voice Clone shared by link; one the organization already imported on that model gets a new sample instead of a new voice.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `gender` | string ("MALE" | "FEMALE" | "NEUTRAL") | No |  |
| `country` | string | No |  |
| `provider` | string ("CARTESIA" | "ELEVENLABS" | "FISH_AUDIO") | No |  |
| `shareUrl` | string | No | The link from Share voice in ElevenLabs: https://elevenlabs.io/app/voice-lab/share/<owner>/<voice>. |
| `sampleUrl` | string | No |  |
| `description` | string | No | Description override. Defaults to provider metadata; an explicit empty string is kept. |
| `displayName` | string | No | Name override. Defaults to the provider’s name, or `Imported <providerVoiceId>`. |
| `providerConfig` | object | No |  |
| `providerModelId` | string | No |  |
| `providerVoiceId` | string | No | Voice identifier from the selected provider. |
| `useOrganizationKey` | boolean | No | ELEVENLABS only. |

### Anam voice list

**Slug:** `ANAM_MCP_ANAM_VOICE_LIST`

Lists the voices the organization can use (Anam’s stock ones and its own): provider, gender, accent (`country`), languages and sample URL. Filter by `search`, `language`, `gender` and `country`; no match is an empty `data` list. A voice’s `id` is a persona’s `voiceId`.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page` | integer | No |  |
| `gender` | string ("male" | "female" | "neutral") | No | Only voices of this gender |
| `search` | string | No | Search term to filter voices by display name |
| `country` | string | No | Voices with this ISO 3166-1 country (accent), such as `GB`. |
| `perPage` | integer | No |  |
| `language` | string | No | Voices that speak this ISO 639-1 language, such as `es`. |

### Anam voice update

**Slug:** `ANAM_MCP_ANAM_VOICE_UPDATE`

Changes a voice and returns it; fields left out are unchanged.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `id` | string | Yes |  |
| `gender` | string ("MALE" | "FEMALE" | "NEUTRAL") | No | Voice gender |
| `country` | string | No | ISO 3166-1 alpha-2 country code |
| `description` | string | No | Voice description |
| `displayName` | string | No | New display name for the voice |
| `providerModelId` | string ("sonic-3.6" | "sonic-3.6-2026-08-27" | "sonic-3.5" | "sonic-3.5-2026-05-04" | "sonic-3" | "sonic-3-2026-01-12" | "sonic-2" | "sonic-latest" | "eleven_v4_turbo" | "eleven_v3_conversational" | "eleven_v4" | "eleven_v3" | "eleven_flash_v2_5" | "eleven_multilingual_v2" | "eleven_flash_v2" | "eleven_turbo_v2_5" | "s2.1-pro" | "s2-pro" | "s1") | No | An Anam-supported model ID for the voice’s provider. A new model is validated by generating a short speech sample with it, on the organization’s saved ElevenLabs key (and its credits) for a voice that speaks with it. |
