← Documentación

DALIA MCP

69 tools para agentes de IA — generado del registry del servidor, siempre al día.

claude mcp add dalia --transport http https://www.dal-ia.com/api/mcp \
  --header "Authorization: Bearer dk_live_…"

Misma autenticación y permisos que la API REST. Deliberadamente ausentes: envío de mensajes, campañas, API keys, webhooks e invitaciones — decisiones de producto verificadas en CI.

search_contacts

Search contacts by name, email or phone, by custom attributes (attribution: utm_source, utm_medium, utm_campaign, ad_name, city…), by labels, by creation period and by whether they have an open conversation. Newest first, with next_cursor and the contact url. 'Cuántos vinieron de X' is attribution: prefer the attribution report for totals and use this to list the people.

ParámetroTipoDescripción
querystringFree text matched against name, email and phone
attributesobjectExact custom attributes, e.g. { "utm_medium": "paid_social" }
labelsstring[]Contact must carry ALL of these label titles
has_open_conversationboolean
period'today' | 'week' | 'month' | 'all_time' | 'custom'
date_fromstringYYYY-MM-DD (period=custom)
date_tostringYYYY-MM-DD inclusive (period=custom)
limitinteger
cursorstringnext_cursor from a previous call

get_contact

Full profile of ONE contact: channel identities, custom attributes (attribution), labels, internal notes and their conversations. Use it before acting on a person.

ParámetroTipoDescripción
contact_idstringrequerido
recent_messagesintegerRecent messages of the latest conversation to include (default 10)

create_contact

Create a contact. Requires name plus at least one of phone_number or email. Phone/email must be unique per workspace.

ParámetroTipoDescripción
namestringrequerido
phone_numberstring
emailstring
citystring
countrystring
company_namestring
job_titlestring
biostring

update_contact

Partially update a contact: only the provided fields change. Pass an empty string to clear a field.

ParámetroTipoDescripción
contact_idstringrequerido
namestring
phone_numberstring
emailstring
citystring
countrystring
company_namestring
job_titlestring
biostring

list_labels

List the workspace labels (tags) available for contacts.

Sin parámetros.

create_label

Create a label (tag). Titles are unique per workspace. Requires label management permission.

ParámetroTipoDescripción
titlestringrequerido
descriptionstring
colorstringHex color like #ff0055

tag_contact

Attach a label to a contact, by label_id or by label_title (case-insensitive exact match). Idempotent.

ParámetroTipoDescripción
contact_idstringrequerido
label_idstring
label_titlestring

untag_contact

Remove a label from a contact, by label_id or label_title.

ParámetroTipoDescripción
contact_idstringrequerido
label_idstring
label_titlestring

list_conversations

List inbox conversations (WhatsApp / Instagram / Messenger / web), newest activity first, with contact, channel, last message preview and the chat url. Filter by status, inbox, assignee (name), unassigned_only, priority, team, label, unread_only and created/updated date ranges. Paginate with next_cursor. Only shows what the caller may see: an agent restricted to their own conversations gets only theirs.

ParámetroTipoDescripción
status'open' | 'resolved' | 'pending' | 'snoozed' | 'all'
inboxstringInbox name or id
inbox_idstring
assigneestringAssigned agent name, email or id
unassigned_onlyboolean
priority'urgent' | 'high' | 'medium' | 'low' | 'none'
teamstringTeam name or id
labelstringLabel title or id
unread_onlyboolean
created_fromstringYYYY-MM-DD
created_tostringYYYY-MM-DD (inclusive)
updated_fromstringYYYY-MM-DD
updated_tostringYYYY-MM-DD (inclusive)
limitinteger
cursorstring

get_conversation_messages

Read the messages of a conversation, newest first, with a cursor for older pages.

ParámetroTipoDescripción
conversation_idstringrequerido
limitinteger
cursorstring

assign_conversation

Assign a conversation to an agent by name, email or id. Requires assignment permission.

ParámetroTipoDescripción
conversation_idstringrequerido
agentstringrequeridoAgent name, email or id

unassign_conversation

Remove the assignee from a conversation.

ParámetroTipoDescripción
conversation_idstringrequerido

resolve_conversation

Mark a conversation as resolved (fires resolution automations).

ParámetroTipoDescripción
conversation_idstringrequerido

reopen_conversation

Reopen a resolved/snoozed conversation.

ParámetroTipoDescripción
conversation_idstringrequerido

set_conversation_priority

Set priority: urgent, high, medium, low or none.

ParámetroTipoDescripción
conversation_idstringrequerido
priority'urgent' | 'high' | 'medium' | 'low' | 'none'requerido

snooze_conversation

Snooze a conversation until an ISO timestamp in the future.

ParámetroTipoDescripción
conversation_idstringrequerido
untilstringrequeridoISO timestamp, e.g. 2026-09-13T15:00:00Z

tag_conversation

Attach a label to a conversation by label_id or label_title (fires label automations). Idempotent.

ParámetroTipoDescripción
conversation_idstringrequerido
label_idstring
label_titlestring

untag_conversation

Remove a label from a conversation by label_id or label_title.

ParámetroTipoDescripción
conversation_idstringrequerido
label_idstring
label_titlestring

get_conversation_detail

Full context of ONE conversation: status, priority, assignee, contact, labels and the most recent messages. Use it to summarise or to decide an action on a specific chat; for account-wide counts use the report tools instead.

ParámetroTipoDescripción
conversation_idstringrequerido
message_limitintegerRecent messages to include (default 30)

list_inboxes

List workspace inboxes (channels) with their ids for filtering conversations.

Sin parámetros.

list_agents

List workspace agents (for assignment).

Sin parámetros.

list_teams

List workspace teams.

Sin parámetros.

crm_list_pipelines

List CRM pipelines with their stages (name, type open/won/lost, order). Use this first to get pipeline and stage ids/names for the other CRM tools.

ParámetroTipoDescripción
kind'leads' | 'opportunities' | 'mixed'

crm_list_leads

List CRM leads, newest first. Filter by pipeline/stage (name or id), status (new/qualified/unqualified/converted), owner (name, email or id) or unassigned_only, contact, source (substring) and creation date range. Paginate with next_cursor; each lead carries its dashboard url.

ParámetroTipoDescripción
pipelinestringPipeline name or id
stagestringStage name or id (needs pipeline)
pipeline_idstring
stage_idstring
status'new' | 'qualified' | 'unqualified' | 'converted'
ownerstringOwner agent name, email or id
owner_idstring
unassigned_onlybooleanOnly leads without owner
contact_idstring
sourcestringSubstring of the source label
created_fromstringYYYY-MM-DD
created_tostringYYYY-MM-DD (inclusive)
limitinteger
cursorstring

crm_get_lead

Fetch a single lead by id, including attribution (UTM) and custom attributes.

ParámetroTipoDescripción
lead_idstringrequerido
activity_limitintegerRecent timeline entries to include (default 10)

crm_create_lead

Create a lead in a pipeline (by name or id). Lands in the given stage or the first one. Attribution: pass utm_source/utm_medium/utm_campaign, or a legacy source label (whatsapp, instagram, facebook, web, email, llamada) that maps to standard UTM. Referral-type sources require attribution_detail (who referred).

ParámetroTipoDescripción
pipelinestringPipeline name or id (defaults to the default leads pipeline)
stagestringStage name or id (defaults to the first stage)
namestringrequerido
company_namestring
emailstring
phonestring
sourcestring
utm_sourcestring
utm_mediumstring
utm_campaignstring
attribution_detailstring
estimated_valuenumber
currencystring
ownerstringOwner agent name, email or id
owner_idstring
contact_idstring

crm_update_lead

Partially update a lead (name, contact fields, value, owner, status, attribution). Manual UTM edits are origin-tracked and the automatic value is snapshotted once. Owner changes notify the new owner by email.

ParámetroTipoDescripción
lead_idstringrequerido
namestring
company_namestring
emailstring
phonestring
sourcestring
utm_sourcestring
utm_mediumstring
utm_campaignstring
attribution_detailstring
estimated_valuenumber
currencystring
ownerstringOwner agent name, email or id
owner_idstring
contact_idstring
status'new' | 'qualified' | 'unqualified' | 'converted'

crm_move_lead_stage

Move a lead to another stage of its pipeline, by stage name or id (board-drag parity: won-type stages set status qualified, lost-type set unqualified; the stage change is logged on the timeline).

ParámetroTipoDescripción
lead_idstringrequerido
stagestringrequeridoTarget stage name or id

crm_mark_lead_lost

Mark a lead as lost (status unqualified, moved to the lost stage when the pipeline has one, reason logged on the timeline). Converted leads cannot be marked lost.

ParámetroTipoDescripción
lead_idstringrequerido
reasonstring

crm_reopen_lead

Reopen a lost lead: status back to new, moved to the first open stage.

ParámetroTipoDescripción
lead_idstringrequerido

crm_convert_lead

Convert a lead into an opportunity in a target pipeline (by name or id). Enforces the conversion minimums (name + client + business context), links or creates the contact, carries attribution, interest items and human activities over.

ParámetroTipoDescripción
lead_idstringrequerido
pipelinestringTarget opportunity pipeline name or id (defaults to the default opportunities pipeline)
stagestringTarget stage name or id (defaults to the first stage)
namestringOpportunity name (defaults to the lead name)
amountnumber
currencystring
expected_close_datestringYYYY-MM-DD
ownerstringOwner agent name, email or id
owner_idstring
confirmed_contact_idstringExisting contact to link when the lead has none

crm_list_opportunities

List CRM opportunities (deals), newest first, filterable by pipeline, stage, status (open/won/lost), owner or contact.

ParámetroTipoDescripción
pipelinestringPipeline name or id
stagestringStage name or id (needs pipeline)
pipeline_idstring
stage_idstring
status'open' | 'won' | 'lost'
ownerstringOwner agent name, email or id
owner_idstring
unassigned_onlybooleanOnly deals without owner
contact_idstring
amount_minnumber
amount_maxnumber
expected_close_fromstringYYYY-MM-DD
expected_close_tostringYYYY-MM-DD
created_fromstringYYYY-MM-DD
created_tostringYYYY-MM-DD (inclusive)
limitinteger
cursorstring

crm_get_opportunity

Fetch a single opportunity by id, including amount, close dates and attribution.

ParámetroTipoDescripción
opportunity_idstringrequerido
activity_limitintegerRecent timeline entries to include (default 10)

crm_create_opportunity

Create an opportunity (deal). Requires a linked contact, an expected close date (YYYY-MM-DD) and an owner — same rule as the UI.

ParámetroTipoDescripción
pipelinestringPipeline name or id (defaults to the default opportunities pipeline)
stagestringStage name or id (defaults to the first stage)
namestringrequerido
descriptionstring
amountnumber
currencystring
expected_close_datestringYYYY-MM-DD
ownerstringOwner agent name, email or id (defaults to the acting user)
owner_idstring
contact_idstringrequeridoLinked contact id (required)
utm_sourcestring
utm_mediumstring
utm_campaignstring
attribution_detailstring

crm_update_opportunity

Partially update an opportunity. Setting status=lost (or clearing the reason of a lost deal) validates the loss reason against the account catalog. Owner changes notify the new owner by email.

ParámetroTipoDescripción
opportunity_idstringrequerido
namestring
descriptionstring
amountnumber
currencystring
expected_close_datestringYYYY-MM-DD
probabilityinteger
status'open' | 'won' | 'lost'
lost_reasonstring
ownerstringOwner agent name, email or id
owner_idstring
contact_idstring
utm_sourcestring
utm_mediumstring
utm_campaignstring
attribution_detailstring

crm_move_opportunity_stage

Move an opportunity to another stage of its pipeline, by stage name or id. Won-type stages close the deal as won; lost-type stages require lost_reason and close it as lost; open stages reopen it. This is how deals are won, lost and reopened.

ParámetroTipoDescripción
opportunity_idstringrequerido
stagestringrequeridoTarget stage name or id
lost_reasonstringRequired when the target stage is lost-type

crm_mark_opportunity_outcome

Close an opportunity as 'won' or 'lost': sets the status and actual close date, moves it to the matching terminal stage and logs the outcome. Losing requires lost_reason from the account catalog (see crm_move_opportunity_stage). Reopen later with crm_update_opportunity status=open.

ParámetroTipoDescripción
opportunity_idstringrequerido
outcome'won' | 'lost'requerido
lost_reasonstringRequired when outcome is lost; must be one of the account lost reasons

crm_list_activities

Activities of the CRM. With entity_type + entity_id: the timeline of one lead or opportunity (notes, calls, meetings, tasks, stage changes), newest first. Without entity_id: account-wide list, filterable by type, entity_type, owner (assigned agent), pending_only (open items with a due date, soonest first) and due date range: 'tareas pendientes', 'vencidas esta semana'.

ParámetroTipoDescripción
entity_type'lead' | 'opportunity'
entity_idstringLead or opportunity id (requires entity_type)
type'note' | 'call' | 'meeting' | 'task' | 'email' | 'stage_change' | 'field_change'
ownerstringAssigned agent name, email or id
pending_onlyboolean
due_fromstringYYYY-MM-DD
due_tostringYYYY-MM-DD (inclusive)
limitinteger

crm_add_note

Add a note to the timeline of a lead or opportunity.

ParámetroTipoDescripción
entity_type'lead' | 'opportunity'requerido
entity_idstringrequerido
bodystringrequerido

crm_schedule_activity

Schedule a call, meeting or task on a lead or opportunity, with a due date and optional assignee.

ParámetroTipoDescripción
entity_type'lead' | 'opportunity'requerido
entity_idstringrequerido
type'call' | 'meeting' | 'task'requerido
due_atstringrequeridoISO timestamp (2026-09-15T14:00:00Z) or a date (2026-09-15, taken as midday UTC)
bodystring
assigned_tostringAgent name, email or id (defaults to the acting user)

crm_complete_activity

Mark a scheduled activity (call/meeting/task) as done.

ParámetroTipoDescripción
activity_idstringrequerido

list_crm_properties

Lista propiedades inmobiliarias del catálogo del CRM (crm_properties). Pensado para cuentas inmobiliarias. Filtros: - name_search: busca por nombre/código de la propiedad o proyecto (búsqueda parcial). USA ESTE FILTRO cuando el usuario mencione el nombre de un proyecto o desarrollo (ej. "Dominica", "GAIA", "Torres del Norte"). Las propiedades tienen nombres como "DOMINICA - Apartamentos". - city / sector (búsqueda parcial) - operation: la operación comercial. IMPORTANTE: en la DB puede estar como "Compra" (= venta desde la perspectiva del vendedor) o "Arriendo". Puedes pasar "venta", "compra", "arriendo" o "alquiler" — la tool normaliza automáticamente. - property_type: ej. "Apartamento", "Casa", "Casa Campestre", "Local Comercial", "Oficina", "Lote campestre", etc. Case-insensitive. - availability (parcial) - min_price / max_price (sobre list_price) - min_bedrooms / max_bedrooms - only_active (default true) - only_published (sólo published al sitio público) IMPORTANTE: cuando el usuario pregunta por un proyecto inmobiliario por nombre (ej. "ventas de Dominica", "oportunidades del proyecto GAIA"), usa name_search con ese nombre. No uses sector ni city para buscar por nombre de proyecto. Cuando el usuario dice "vendemos" o "en venta", filtra por operation = "venta" (la tool lo normaliza a "Compra" internamente).

ParámetroTipoDescripción
name_searchstringBusca por nombre o código de la propiedad/proyecto. Búsqueda parcial case-insensitive. Úsalo cuando el usuario mencione el nombre de un proyecto inmobiliario.
citystring
sectorstring
operationstring
property_typestring
availabilitystring
min_pricenumber
max_pricenumber
min_bedroomsinteger
max_bedroomsinteger
only_activeboolean
only_publishedboolean
limitinteger

get_crm_property_detail

Detalle completo de una propiedad: imágenes y oportunidades que la incluyen como ítem.

ParámetroTipoDescripción
property_idstringrequerido

list_crm_lost_reasons

Lista los motivos de pérdida configurados en la cuenta. Consúltalos antes de cerrar una oportunidad como perdida: el motivo es obligatorio y debe ser uno de estos.

Sin parámetros.

get_crm_funnel

Devuelve el embudo (funnel) de un pipeline para un periodo dado: cuántas oportunidades hay en cada stage, monto agregado y tasa de conversión stage → siguiente. Úsalo cuando el usuario pregunte: - "cómo va el embudo / pipeline este mes" - "muestra el funnel de ventas" - "conversión por etapa" Si no se especifica pipeline_name, usa el pipeline marcado como is_default; si no hay default, devuelve un error claro y pide elegir. Cuenta SIEMPRE oportunidades creadas dentro del period (no las que ya estaban abiertas antes).

ParámetroTipoDescripción
pipeline_namestringNombre parcial del pipeline. Si se omite, usa el default.
period'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'last_7_days' | 'last_14_days' | 'last_30_days' | 'last_60_days' | 'last_90_days' | 'last_180_days' | 'last_365_days' | 'this_year' | 'all'Periodo a evaluar. Default this_month. Para rangos no estándar (ej. 45 días, 73 días) usa el parámetro custom_days_back en su lugar.
custom_days_backintegerRango libre: últimos N días. Anula period.
date_fromstringYYYY-MM-DD. Anula period y custom_days_back.
date_tostringYYYY-MM-DD inclusiva.

get_crm_conversion_report

Reporte de conversión: cuántas oportunidades se cerraron como won vs lost en un periodo, win rate y ciclo medio (días entre created_at y actual_close_date). Si se pasa compare_with_previous=true, devuelve también el periodo anterior comparable.

ParámetroTipoDescripción
pipeline_namestring
period'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'last_7_days' | 'last_14_days' | 'last_30_days' | 'last_60_days' | 'last_90_days' | 'last_180_days' | 'last_365_days' | 'this_year' | 'all'Periodo a evaluar. Default this_month. Para rangos no estándar (ej. 45 días, 73 días) usa el parámetro custom_days_back en su lugar.
custom_days_backintegerRango libre: últimos N días. Anula period.
date_fromstringYYYY-MM-DD. Anula period y custom_days_back.
date_tostringYYYY-MM-DD inclusiva.
compare_with_previousboolean

get_crm_agent_performance

Ranking de agentes (owners) por desempeño de oportunidades en un periodo. Para cada agente devuelve: oportunidades won / lost / open, monto ganado y win rate. Ordenado por monto ganado descendente.

ParámetroTipoDescripción
pipeline_namestring
period'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'last_7_days' | 'last_14_days' | 'last_30_days' | 'last_60_days' | 'last_90_days' | 'last_180_days' | 'last_365_days' | 'this_year' | 'all'Periodo a evaluar. Default this_month. Para rangos no estándar (ej. 45 días, 73 días) usa el parámetro custom_days_back en su lugar.
custom_days_backintegerRango libre: últimos N días. Anula period.
date_fromstringYYYY-MM-DD. Anula period y custom_days_back.
date_tostringYYYY-MM-DD inclusiva.
limitinteger

get_crm_lost_reasons_breakdown

Razones de pérdida de oportunidades agrupadas, con conteo y monto perdido por razón. Útil para entender por qué se pierden deals y priorizar mejoras.

ParámetroTipoDescripción
pipeline_namestring
period'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'last_7_days' | 'last_14_days' | 'last_30_days' | 'last_60_days' | 'last_90_days' | 'last_180_days' | 'last_365_days' | 'this_year' | 'all'Periodo a evaluar. Default this_month. Para rangos no estándar (ej. 45 días, 73 días) usa el parámetro custom_days_back en su lugar.
custom_days_backintegerRango libre: últimos N días. Anula period.
date_fromstringYYYY-MM-DD. Anula period y custom_days_back.
date_tostringYYYY-MM-DD inclusiva.

analyze_lead_response_times

Analiza tiempos de respuesta de leads del CRM: cruza leads → contactos → conversaciones → mensajes para calcular por cada lead: - Tiempo hasta primera respuesta humana (excluye bot) - Si el cliente respondió después del mensaje del asesor - Agente atribuido: usa el owner del lead CRM si existe; si no, usa el agente asignado a la conversación del contacto (assignee). Esto cubre cuentas donde la asignación se hace a nivel de conversación y no de lead. Devuelve métricas individuales + agregados (promedio, mediana, % contactados, % con respuesta del cliente, breakdown por agente). Úsalo SOLO cuando el usuario pregunte por leads del CRM ("tiempo de contacto de los leads", "qué leads respondieron después de la presentación"). Para los tiempos de Informes, "de dónde sale el promedio de un asesor" o "la conversación que más tardaron", usa analyze_agent_response_times. IMPORTANTE: NO llames esta tool una vez por agente. Llámala UNA SOLA VEZ sin owner_name y usa el campo by_agent del resultado. NO uses find_sla_breaches para esto.

ParámetroTipoDescripción
period'today' | 'yesterday' | 'this_week' | 'last_week' | 'this_month' | 'last_month' | 'last_7_days' | 'last_14_days' | 'last_30_days' | 'last_60_days' | 'last_90_days' | 'last_180_days' | 'last_365_days' | 'this_year' | 'all'Periodo a evaluar. Default this_month. Para rangos no estándar (ej. 45 días, 73 días) usa el parámetro custom_days_back en su lugar.
custom_days_backintegerRango libre: últimos N días. Anula period.
date_fromstringYYYY-MM-DD. Anula period y custom_days_back.
date_tostringYYYY-MM-DD inclusiva.
pipeline_namestring
owner_namestringFiltra por agente (owner del lead O assignee de la conversación). Pasa "sin asignar" para leads sin agente. Para el breakdown de TODOS los agentes, omite este parámetro y usa by_agent.
sourcestringFuente del lead (búsqueda parcial). Ej: "WhatsApp", "Meta".
limitinteger

get_overview_report

Workspace overview for a period: KPIs with previous-period comparison (conversations, contacts, messages, resolution, first-response times), daily timeseries, conversation breakdowns by status/channel/priority, and contact attribution by source. Default window: last 30 days.

ParámetroTipoDescripción
daysintegerRolling window in days (default 30)
fromstringYYYY-MM-DD (Bogota) — requires to
tostringYYYY-MM-DD (Bogota) — requires from
inbox_idstring

get_conversations_report

Conversation operations for a period: incoming-volume heatmap (day × hour), first-response time distributions (human, business-hours, AI), AI agent stats and the current SLA queue of waiting conversations.

ParámetroTipoDescripción
daysintegerRolling window in days (default 30)
fromstringYYYY-MM-DD (Bogota) — requires to
tostringYYYY-MM-DD (Bogota) — requires from
inbox_idstring

get_crm_report

Sales results for a period: funnel (conversations → leads → opportunities → won), revenue and average ticket, revenue per owner and per attribution origin, losses by reason, and the lead/opportunity attribution table per dimension.

ParámetroTipoDescripción
daysintegerRolling window in days (default 30)
fromstringYYYY-MM-DD (Bogota) — requires to
tostringYYYY-MM-DD (Bogota) — requires from
inbox_idstring

get_agents_report

Per-agent performance for a period: assigned/resolved conversations, resolution rate and average first-response times. Pass agent (display name) to add their conversation-level first-response breakdown.

ParámetroTipoDescripción
daysintegerRolling window in days (default 30)
fromstringYYYY-MM-DD (Bogota) — requires to
tostringYYYY-MM-DD (Bogota) — requires from
inbox_idstring
agentstringAgent display name — adds their breakdown

create_pipeline

Create a pipeline (kind: 'leads', 'opportunities' or 'mixed'). It is seeded with the default stage set, ready for cards. Requires workspace-setup permission.

ParámetroTipoDescripción
namestringrequerido
kind'leads' | 'opportunities' | 'mixed'requerido
descriptionstring
default_currencystringISO code, default COP
is_defaultbooleanMake it the default board for its kind

update_pipeline_stages

Set the stage layout of a pipeline in one call: pass the FULL ordered list of stage names (or ids). Existing stages are reordered to match; names that do not exist yet are created as open-type stages. Terminal stages (won/lost) must be edited via the API.

ParámetroTipoDescripción
pipelinestringrequeridoPipeline name or id
ordered_stagesstring[]requeridoComplete stage list, in board order

create_team

Create a team, optionally with members (by name, email or id) and auto-assignment.

ParámetroTipoDescripción
namestringrequerido
descriptionstring
allow_auto_assignboolean
membersstring[]Agent names, emails or ids

add_team_member

Add an agent (by name, email or id) to a team (by name or id).

ParámetroTipoDescripción
teamstringrequeridoTeam name or id
agentstringrequeridoAgent name, email or id

remove_team_member

Remove an agent (by name, email or id) from a team (by name or id). The agent keeps their account access; only the team membership goes away.

ParámetroTipoDescripción
teamstringrequeridoTeam name or id
agentstringrequeridoAgent name, email or id

edit_canned_response

Edita una respuesta predeterminada existente, buscándola por su código corto. Puede cambiar el código, el contenido o ambos. Cada edición queda registrada en el historial de la respuesta.

ParámetroTipoDescripción
short_codestringrequeridoCódigo corto actual de la respuesta a editar (sin la barra)
new_short_codestringNuevo código corto (si se quiere cambiar)
new_contentstringNuevo contenido

create_canned_response

Create a canned response (atajo) on an inbox (by name or id). short_code must be unique per inbox.

ParámetroTipoDescripción
short_codestringrequeridoThe shortcut, without the leading /
contentstringrequerido
inboxstringrequeridoInbox name or id

list_canned_responses

List canned responses, optionally filtered by inbox (name or id).

ParámetroTipoDescripción
inboxstringInbox name or id

create_custom_attribute

Define a custom attribute for contacts or conversations. type: text, number, currency, percent, link, date, list (requires values) or checkbox.

ParámetroTipoDescripción
display_namestringrequerido
keystringrequeridosnake_case identifier
model'contact_attribute' | 'conversation_attribute'requerido
type'text' | 'number' | 'currency' | 'percent' | 'link' | 'date' | 'list' | 'checkbox'
descriptionstring
valuesstring[]Options, required for type 'list'

list_custom_attributes

List the custom attribute definitions of the workspace.

Sin parámetros.

update_inbox_settings

Rename an inbox (by name or id), toggle auto-assignment or turn the AI agent on/off. Channel credentials are never touched here.

ParámetroTipoDescripción
inboxstringrequeridoInbox name or id
namestring
auto_assignboolean
ai_agent_enabledboolean

get_ai_config

Read the AI agent configuration of an inbox (by name or id): temperature, memory, RAG settings, enabled tools, bypass labels, handover. The prompt is not readable here.

ParámetroTipoDescripción
inboxstringrequeridoInbox name or id

update_ai_config

Partially update the AI agent configuration of an inbox (by name or id). Only the keys you send change; every write re-runs the plan sanitizer. The prompt is not writable here.

ParámetroTipoDescripción
inboxstringrequeridoInbox name or id
configobjectrequeridoKeys to change, e.g. {"temperature":0.4,"bypass_labels":["VIP"],"rag_enabled":true}

create_knowledge_collection

Create a knowledge-base collection (embedding/chunking config is a fixed platform standard; plan limits apply).

ParámetroTipoDescripción
namestringrequerido
descriptionstring

add_knowledge_document

Add a document to the knowledge base from raw text (up to 100KB) or a public https URL (up to 2MB). It is chunked and embedded through the same pipeline as a dashboard upload; the returned status tells whether it is ready. Collection by name or id, optional.

ParámetroTipoDescripción
namestringrequeridoDocument title
collectionstringCollection name or id
textstring
urlstringPublic https URL to fetch

search_knowledge

Semantic search over the account's knowledge base — the same RAG retrieval the AI agent uses (embeddings + similarity threshold).

ParámetroTipoDescripción
querystringrequerido
top_kinteger