{"serverInfo":{"name":"voice-logica","title":"Voice Logica","version":"1.0.0"},"description":"AI phone agents that answer and place calls for a business in Greek and English: build and test agents, review calls, run campaigns, connect phone lines and office PBXs, and automate with workflows. Connecting creates a free account.","protocolVersion":"2025-06-18","transport":{"type":"streamable-http","url":"https://api.voicelogica.ai/api/v1/mcp"},"capabilities":{"tools":{"listChanged":true},"resources":{},"prompts":{}},"authentication":{"required":true,"schemes":["oauth2"],"protectedResourceMetadata":"https://api.voicelogica.ai/.well-known/oauth-protected-resource","note":"OAuth with dynamic client registration. Connecting creates a Voice Logica account if the user has none (free demo, no card)."},"instructions":"Voice Logica: AI phone agents, call history, CRM contacts, campaigns and integrations for this company. Tools act on the authenticated user's company only. Use list_integrations / describe_integration before calling an integration tool (connect one with connect_integration), and prefer querying before writing. When the user has just connected or created their account, call get_my_agent and offer to let them hear their agent: test_in_browser, call_me for a callback, or the dial-in number with the PIN. Keep every answer short: 2-4 sentences or the one next step, in the user's language, with a link for the rest. Never paste a guide or docs page. What a person can change depends on their role in this company: when they ask for a change and no tool for it is in your list, or a result carries accessNote, tell them their role does not allow it and that a company admin can give them edit access in Team and access → Users. Report an error only when a tool you called returned one; never say a save failed when no tool ran. For how-to and product questions, call get_guide or search_docs first. To read the docs yourself, fetch https://docs.voicelogica.ai/llms.txt (one file per topic, each small enough to read whole) or a page as markdown at https://docs.voicelogica.ai/raw/<page path>.md (e.g. /raw/telephony/edge-device.md, Greek /raw/el/...), not the HTML page in a browser. Noema is Voice Logica's mobile app: it records and summarises the business calls made on the user's mobile and answers the ones they miss, and those calls can then be searched here with get_calls. When the user asks about calls on their mobile, mention it once and offer the steps, one per message: (1) install it (iPhone https://apps.apple.com/gr/app/noema-by-voice-logica/id6763424183, Android https://play.google.com/store/apps/details?id=ai.noema) and sign in with the Voice Logica account; 3 days free; (2) make a business call from it, then show its summary (get_calls); (3) to keep it: Noema Mobile, EUR 9 a month + VAT, at https://app.voicelogica.ai/billing/subscription-details?buy=noema-mobile. Incoming calls, carriers, Do Not Disturb and plan details: get_guide mobile_only_noema_plan. EUR 9 is the Noema app price only. AI phone agent plans start at Starter, EUR 49 a month + VAT with 200 minutes; quote the others from list_plans, all + VAT. On their calls with customers or colleagues (Noema, the apps, a desk phone) they can wake the AI by saying \"Logica\" or \"Λότζικα\" (on by default; no effect on calls the AI answers itself; word and on/off in the call settings, callControls) to add a colleague or contact or ask a question: get_guide wake_assistant_during_call. Callers' identifiers can be kept away from the AI: with sensitive-data protection on an agent (update_agent_settings, section \"ai_disclosure\", sensitiveDataProtection), ΑΜΚΑ, ΑΦΜ, IBAN, ID card and card numbers appear as placeholders like {{amka_1}}, are spoken only as their last four digits and are stored encrypted. Call reveal_sensitive_data only when the user asks for that one value (permission, company opt-in and a reason are required; every reveal is audited): get_guide protect_sensitive_caller_data. Tell them too that they can ask you anything about how Voice Logica works, here in this chat: answer from search_docs and link the docs page. A campaign is a reusable setup for one purpose (agent, script, caller ID, schedule, retries), not one call: before create_campaign, check get_campaigns and add new people to the campaign with the same purpose and agent with leads_execute (action \"create_campaign_leads\"), with per-person details in contextForAi; to call one person now use initiate_call. Build every agent from the business's own information, and gather it yourself before asking: its website (crawl_website_pages into knowledge), documents the user shares (extract_document, then add_knowledge_text), systems it already connected (list_integrations: the agent looks up orders, bookings or customers during the call instead of copying data into the prompt), and, for an agent that already takes calls, get_calls and knowledge_query (action \"list_unanswered_questions\"). Then ask only what is still missing, in one short message: what callers mostly want, opening hours, who to transfer to and when, what the agent must never say or promise. Facts (services, prices, hours, answers) go in knowledge; behaviour goes in the prompt with edit_agent_prompt, and long steps for one kind of request (returns, account questions, complaints) go in procedures (procedures_execute: action \"create_procedure\", then action \"attach_procedures\"): only a one-line trigger stays in the prompt and the agent loads the steps when that request comes up (get_guide agent_procedures); turn on only the tools it needs. get_guide build_a_reliable_agent has the full checklist. Before calling it done, test it: scenarios_query (action \"generate_agent_scenarios\"), then run_agent_scenario (live by default: a real phone call with the agent's voice, tools and workflows, graded by a judge, using call minutes; mock tools that create records with mockedTools) and fix what fails; get_guide test_and_evaluate_an_agent covers scenarios, mocks, the suite and publishing. Always end building or changing an agent by giving the user a way to hear it: get_my_agent with its agentId returns the test phone number and the agent's PIN, plus test_in_browser and call_me. Then offer to put it on their real number: forward their existing number to the free number (get_free_number, get_guide free_number_and_forwarding), connect their office phone system (connect_pbx), or register their line with the carrier's SIP credentials (get_guide connect_carrier_line_credentials). Offer too to automate with workflows (create_workflow_from_template: e.g. SMS the caller a booking link; create_webhook_workflow: send each call to their CRM; create_api_lookup_workflow: look up an order during the call), one example. Agent settings other than the prompt (greeting, voice, languages, transfers, hours, memory, analysis, notifications, appointments, mid-call tools, workflows) are get_agent_settings / update_agent_settings by section; read a section with format: true before its first change, and pass only the fields that change. Build or change a workflow with edit_workflow (all operations in one call; node settings from get_workflow_format), then run test_workflow and read nodeResults: success is false when a node failed, and a node missing after a switch means no condition matched. When a node reads {{variables}}, check `variables` too: a `missing` entry means nothing supplied that placeholder, which is why a switch/if took its default branch. Going live: show list_plans as a short table (name, price, minutes), then upgrade_plan with the chosen planId: it returns checkoutUrl, the billing page where the user confirms and pays (nothing is charged from chat). When they say it is done, confirm with billing_query (action \"get_subscription\"). Then give them a phone line: get_free_number (companies in Greece), their office phone system with connect_pbx (Panasonic, Grandstream, Yeastar, 3CX, FreePBX, Alcatel, Avaya: walk the steps, then pbx_query (action \"check_pbx_connection\") until connected), or their carrier with create_sip_trunk. A PBX that cannot register a trunk and sits on a private network needs an edge device (pbx_query (action \"get_edge_installer\"), then pbx_query (action \"get_edge_devices\") until ready, and relay its userAction when it is not). For the device machine ask what is next to the PBX: an empty PC (no Windows or Linux) runs it from a USB stick, platform \"usb_stick\" (get_guide edge_device_usb_stick). Phone numbers, inbound routes (which agent or person answers each number) and outbound routes: telephony_query without an action (it lists them), then telephony_query / telephony_execute. The same two tools hold company Call settings (recording, analysis, fallbacks, knowledge assist: get_call_settings / update_call_settings actions) and each user's phone settings (knowledge assist, translation, chat support, whether they take tasks and their away days, When unavailable busy / no-answer fallback: get_user_call_settings / update_user_call_settings actions). WhatsApp, Messenger, Instagram and Viber (the agent answering messages there): channels_query without an action, then channels_execute start_connect (Messenger / Instagram: a login link for the user to open, then connect_status) or connect_with_token (Viber bot token). Learning → Needs review (questions agents could not answer, colleagues' answers from chats and calls, conflicts, answers added automatically): list_learning_items, then review_learning_item (save, dismiss, undo); one agent's own Learning rule: knowledge_execute (action \"set_agent_learning_rule\"). Team members (status, access, disable in this company, remove, password reset): query_user_action without an action (it lists them), then query_user_action / execute_user_action. Staff phones: team_execute (action \"invite_member\"), team_execute (action \"set_user_seat\") (sip, windowsApp, mobile; team_execute (action \"buy_seats\") when none are free), then telephony_execute send_device_setup emails or texts them how to start. One person, one contact: to email or update someone the user called or already has (\"email the customer I just called\"), take contactId from get_calls or list_contacts and pass it to messages_execute (action \"send_email\", contactId on the message) or create_or_update_contact; a new address is then saved on that contact. Never create a contact for a new email of someone who already has one. Sent emails are tracked: messages_query (action \"get_sent_emails\") shows which were opened and which links (web, phone, email) were clicked. \"My tasks\", \"my callbacks\", \"my calls\" and \"my extension\" mean the person's own things on Voice Logica: use list_mine (and execute_mine to complete or add one, or to change their own recording, analysis or caller card). These tasks are the Voice Logica Tasks page, separate from support tickets; a task app the user names (ClickUp, Trello…) is reached through its integration. After you send someone an email, document or message for the user with any tool, including another connector such as Gmail, check their open Voice Logica tasks (list_tasks with status \"open\": the person's name or address in the subject or notes, or their contactId). messages_execute (action \"send_email\") returns them itself as openTasks. Ask the user whether what was sent completes a matching task; on a yes, complete it with execute_mine (action \"complete_task\") and a note of what was sent, to whom and when. For how do I / set up questions (SIP trunk, PBX, buying a plan, editing an agent, workflows…), call get_guide with their words and walk the steps, doing the ones that name a chatTool; for anything else about the product, call search_docs and link the user to the page it returns. When neither answers the question, do not guess: call report_unanswered_question so the team replies on a ticket and adds it to the docs. When something is broken on the platform side (e.g. a call failed with no_rtp_stream or call_stuck), open a support ticket with create_ticket, including the Call ID, and follow it with tickets_query (action \"get_ticket\") / tickets_execute (action \"reply_to_ticket\"). When the user asks what you can do or does not know where to start, offer a short menu by area (agents, testing, knowledge, calls, campaigns, contacts and calendar, messages, tasks, workflows, integrations, telephony and devices, team and billing) with one example each, and link https://docs.voicelogica.ai/integrations/what-you-can-ask/.","tools":[{"name":"add_knowledge_entries","title":"Add knowledge entries","description":"Add Q&A entries to a knowledge file (max 50 per call). Every entry is stored — an over-long answer is split into numbered parts, so entriesQueued can exceed the number you sent; the only thing that stops a batch is the plan's knowledge-questions allowance, which fails loudly. Returns IMMEDIATELY — embeddings are generated in the background and the user is emailed when the batch completes or fails; check progress with get_knowledge_file. Retrieval embeds the QUESTION only, so phrase questions the way callers ask them and add altQuestions for phrasing variants.","inputSchema":{"type":"object","properties":{"knowledgeFileId":{"type":"string","description":"Knowledge file id (from list_knowledge_files)."},"entries":{"type":"array","description":"Q&A entries. Retrieval embeds the QUESTION only (the answer is what the agent says back), so phrase questions the way a caller would ask them and add altQuestions for other phrasings — each alternative gets its own embedding.","items":{"type":"object","properties":{"question":{"type":"string","description":"The caller question this entry answers, phrased as a caller would say it (max 300 characters)."},"answer":{"type":"string","description":"The answer the voice agent gives the caller. Keep it under 3000 characters so it stays one row — longer answers are split into numbered parts (\"… (1/2)\"), never dropped. Hard limit 30000; use add_knowledge_text beyond that."},"altQuestions":{"type":"array","description":"Alternative phrasings of the same question — improves recall for different wordings.","items":{"type":"string"}}},"required":["question","answer"]}},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["knowledgeFileId","entries"]},"annotations":{"title":"Add knowledge entries","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"add_knowledge_link","title":"Add knowledge link","description":"Connect a WEBSITE to a knowledge file: crawls the URL, ingests the pages, and (optionally) re-reads them on a schedule so the agent stays in sync with the site. Prefer this over add_knowledge_text for anything already published on a website — the content refreshes itself instead of going stale. Returns IMMEDIATELY; scraping and knowledge generation run in the BACKGROUND and the user is emailed when done. Every crawled page becomes knowledge rows that count against the plan's knowledge-questions limit, so keep maxPages tight and use excludeUrls/contentFilter to skip pages the agent should not read. Re-adding the same base URL REPLACES the existing source for that URL.","inputSchema":{"type":"object","properties":{"knowledgeFileId":{"type":"string","description":"Knowledge file id (from list_knowledge_files)."},"url":{"type":"string","description":"Base website URL to connect, e.g. \"https://example.com\". It is crawled for pages and is always ingested itself."},"pages":{"type":"array","description":"Explicit page URLs to ingest, normally the reviewed output of crawl_website_pages. Providing this SKIPS the crawl and ingests exactly these pages (the base url is still included). Omit to crawl and take everything found.","items":{"type":"string"}},"scrapeInterval":{"type":"string","description":"How often to re-read the site. Default \"off\" (read once). Use daily/weekly/monthly to keep the knowledge current automatically.","enum":["off","daily","weekly","monthly"]},"crawlNewLinks":{"type":"boolean","description":"On each re-scrape, re-crawl the base URL and also ingest pages that did not exist before (e.g. new products or seminars). Default false."},"excludeUrls":{"type":"array","description":"Pages never to ingest. Accepts full URLs or path prefixes such as \"/admin\", \"/login\", \"/cart\".","items":{"type":"string"}},"contentFilter":{"type":"string","description":"Plain-language rule for which pages to keep, max 2000 chars (e.g. \"Keep only current and upcoming seminars; permanently exclude past ones\"). Non-matching pages are excluded permanently so they are never re-scraped."},"ingestionMode":{"type":"string","description":"document (default) = one row per content chunk, title + body + similar-question embeddings. qa = many generated question/answer pairs, which produces far more rows.","enum":["document","qa"]},"maxPages":{"type":"number","description":"Cap on pages ingested from the crawl (default 50, max 100 per source; explicit pages are capped at 100 too). Pages beyond the cap are reported, never silently dropped: split a bigger site into several sources by section."},"allowHosts":{"type":"array","description":"Extra hostnames to accept alongside the site being connected. Only same-site pages are ingested by default (subdomains included) — this applies to explicit \"pages\" too, so list a host here if you deliberately want content from another domain.","items":{"type":"string"}},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["knowledgeFileId","url"]},"annotations":{"title":"Add knowledge link","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"add_knowledge_text","title":"Add knowledge text","description":"Ingest raw text into a knowledge file in document mode: one knowledge row per content chunk with the subject as the title, the body as the answer, and AI-generated similar questions for embedding recall. Runs in the BACKGROUND (returns immediately; user is emailed when done). Use for pasted documents, policies or FAQs up to 350,000 characters. For hand-crafted Q&A prefer add_knowledge_entries.","inputSchema":{"type":"object","properties":{"knowledgeFileId":{"type":"string","description":"Knowledge file id (from list_knowledge_files)."},"text":{"type":"string","description":"The raw text to ingest (max 350,000 characters)."},"name":{"type":"string","description":"Subject/title for this text (max 100 characters, e.g. \"Return policy\"). Defaults to a generated label."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["knowledgeFileId","text"]},"annotations":{"title":"Add knowledge text","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"agents_execute","title":"Agents execute","description":"Change actions for agents: delete_agent, clone_voice, delete_cloned_voice, copy_agent_to_company, copy_workflow_to_company. Inputs: agents_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Agents execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"agents_query","title":"Agents query","description":"Agent housekeeping (get_agents, create_agent, edit_agent_prompt and update_agent_settings stay their own tools): delete an agent; copy or move an agent or a workflow to another company (list the companies first); list, clone and delete the company's cloned agent voices (ElevenLabs, Soniox). Read actions: list_cloned_voices, list_agent_transfer_targets, list_workflow_transfer_targets. Changes run with agents_execute, not here. Write actions: delete_agent, clone_voice, delete_cloned_voice, copy_agent_to_company, copy_workflow_to_company. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Agents query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"assistant_call","title":"Assistant call","description":"Have an AI agent call someone on behalf of the signed-in user, like a secretary: it says who it is calling for and why (from `note`), asks if they can talk now, then puts them through to the user (their desk phone, Windows app and Noema all ring). If the user does not answer, or the person cannot talk, it takes a message and a time to call back as a callback task for the user. Uses the user's own caller ID. Use initiate_call instead when the AI should handle the whole conversation itself. Returns callId; get_call_result shows the outcome.","inputSchema":{"type":"object","properties":{"destinationNumber":{"type":"string","description":"Number to call, ideally E.164 (+306912345678)."},"note":{"type":"string","description":"Why the user wants to talk, in a few words (e.g. \"about order 10482\"). The agent says it when it opens."},"contactName":{"type":"string","description":"Name of the person being called, if known."},"agentId":{"type":"string","description":"Agent that makes the call (get_agents). Default: the company default agent."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["destinationNumber"]},"annotations":{"title":"Assistant call","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"billing_execute","title":"Billing execute","description":"Change actions for billing: cancel_subscription, resume_subscription, set_company_vat, set_low_balance_alert, set_sms_limits, lift_outbound_pause, set_outbound_call_limits, grant_resources, restore_customer_plan. Inputs: billing_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Billing execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"billing_query","title":"Billing query","description":"Subscription housekeeping (list_plans and upgrade_plan stay their own tools): the current subscription and usage, add-ons, the card on file, cancel or resume the subscription, set the company VAT number, the low balance alert (threshold % and who gets the email); for resellers, statistics of their clients (plan, renewal, minutes left and used, calls, credits needed for renewals); for admins, the company's SMS caps (per number and per company), its outbound protection (the automatic pause of outside calls and SMS after repeated blocked numbers, and how to lift it) and its caps on calls abroad; for admins and account managers, free resource top-ups for the current period (call time, analysis time, emails, SMS, knowledge, phone, agents, prompt size); for admins, restore a subscription that was deactivated or deleted by mistake. Read actions: get_subscription, list_add_ons, get_payment_method, get_low_balance_alert, get_client_stats, get_sms_limits, get_outbound_protection, get_resource_grants. Changes run with billing_execute, not here. Write actions: cancel_subscription, resume_subscription, set_company_vat, set_low_balance_alert, set_sms_limits, lift_outbound_pause, set_outbound_call_limits, grant_resources, restore_customer_plan. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Billing query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"boards_execute","title":"Boards execute","description":"Change actions for boards: create_board, update_board, update_board_column, create_board_column, reorder_board_columns, delete_board_column, delete_board, set_board_access, create_board_card, update_board_card, move_board_card, sign_off_board_card, set_board_card_waiting, clear_board_card_waiting, add_board_card_note, set_board_client_form, send_board_client_form, set_board_card_form_questions, delete_board_card. Inputs: boards_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Boards execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"boards_query","title":"Boards query","description":"Kanban boards (client implementations and any other process): boards with their columns, rules (entry requirements, sign-offs, entry counters), waiting options and timers; cards on them (create, edit, move through the rules, sign off, flag as waiting on someone); and board metrics (days per column, waits by cause, cycle time, test cycles). Read actions: list_board_templates, list_boards, get_board, get_board_metrics, list_board_cards, get_board_card, get_board_card_activity, check_board_card_move. Changes run with boards_execute, not here. Write actions: create_board, update_board, update_board_column, create_board_column, reorder_board_columns, delete_board_column, delete_board, set_board_access, create_board_card, update_board_card, move_board_card, sign_off_board_card, set_board_card_waiting, clear_board_card_waiting, add_board_card_note, set_board_client_form, send_board_client_form, set_board_card_form_questions, delete_board_card. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Boards query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"calendar_execute","title":"Calendar execute","description":"Change actions for calendar: create_calendar_event, update_calendar_event. Inputs: calendar_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Calendar execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"calendar_query","title":"Calendar query","description":"The connected calendars used for appointments: list calendars and events, create or change an event. Read actions: list_calendars, list_calendar_events. Changes run with calendar_execute, not here. Write actions: create_calendar_event, update_calendar_event. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Calendar query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"call_me","title":"Call me","description":"Have the user's AI agent phone them for a live test: the agent acts as their business's receptionist and the user plays a customer. First call with `phone` (a mobile, e.g. +3069...) sends an SMS code; call again with `phone` and `code` to verify and place the call. Once verified, `phone` alone places the call. Before calling, ask what they want to try and pass it as `scenario`. Only ever calls the user's own verified number or a mobile whose owner read back the SMS code (e.g. a client testing their agent); that number is never saved as the user's own phone.","inputSchema":{"type":"object","properties":{"phone":{"type":"string","description":"The mobile to call: the user's own, or another person's who will read back the SMS code."},"code":{"type":"string","description":"SMS code received on that mobile."},"scenario":{"type":"string","description":"Optional, max 500 characters: what the user wants to test, in their words, e.g. \"I am a customer asking the price of teeth whitening\" or \"book an appointment for tomorrow morning\"."},"agentId":{"type":"string","description":"Optional: the agent to test (from get_agents). Omit for the default agent."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Call me","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"call_tags_execute","title":"Call tags execute","description":"Change actions for call_tags: create_call_tag, update_call_tag, delete_call_tag, merge_call_tags, set_call_tags, tag_past_calls. Inputs: call_tags_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Call tags execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"call_tags_query","title":"Call tags query","description":"Call tags: each company's own list, several per call (one mood such as Angry or Dissatisfied, plus the topics the call was about). The post-call analysis tags every call and adds a topic when nothing similar exists. List the tags with their 30-day counts, see a period's topics, moods, unhappy calls and per-person stats (as on the dashboard), add, rename, merge or delete them, set the tags of a call by hand, and tag the past calls of a period that have no tags yet. Find calls by tag with get_calls tagIds. Read actions: list_call_tags, get_call_insights. Changes run with call_tags_execute, not here. Write actions: create_call_tag, update_call_tag, delete_call_tag, merge_call_tags, set_call_tags, tag_past_calls. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Call tags query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"campaigns_execute","title":"Campaigns execute","description":"Change actions for campaigns: pause_campaign, resume_campaign, test_campaign, delete_campaigns, create_campaign_preset, update_campaign_preset, delete_campaign_preset, apply_campaign_preset. Inputs: campaigns_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Campaigns execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"campaigns_query","title":"Campaigns query","description":"One campaign in detail and its run state (listing, creating and updating campaigns stay their own tools; leads are in leads_query / leads_execute): read one campaign's full settings and which sender ID its follow-up SMS use, pause or resume it, place a test call, delete campaigns with their leads (preview first, then confirm); campaign presets (saved call-back timing): list the built-ins and the company's own, save, edit, delete, apply one to a campaign. Read actions: get_campaign, get_campaign_sms_sender, list_campaign_presets. Changes run with campaigns_execute, not here. Write actions: pause_campaign, resume_campaign, test_campaign, delete_campaigns, create_campaign_preset, update_campaign_preset, delete_campaign_preset, apply_campaign_preset. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Campaigns query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"cancel_workflow_wait_runs","title":"Cancel workflow wait runs","description":"Cancel workflow runs paused on a Wait node so they never continue (e.g. the email after the wait must not go out). Pass workflowId to cancel all its waiting runs, or runIds from list_workflow_wait_runs. Returns how many were cancelled. Confirm with the user first.","inputSchema":{"type":"object","properties":{"workflowId":{"type":"string","description":"Cancel every waiting run of this workflow"},"runIds":{"type":"array","description":"Ids of waiting runs to cancel"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Cancel workflow wait runs","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"channels_execute","title":"Channels execute","description":"Change actions for messaging channels (inputs: channels_query without action): start_connect (login link for Messenger / Instagram, the WhatsApp signup page), choose_page, connect_with_token (Viber bot token, Page / Instagram token, own WhatsApp Cloud API number), update_channel (agent, on / off, channel prompt, reply options), disconnect_channel, enable_whatsapp_calling; Viber Channels: connect_viber_channel (channel token from Info > Developer Tools), post_viber_channel (post to the channel, preview then confirm), disconnect_viber_channel. Confirm disconnects and posts with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (channels_query only) to list the actions with their inputs.","minLength":1,"maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Channels execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"channels_query","title":"Channels query","description":"Messaging channels the agent answers on: WhatsApp numbers, Facebook Messenger Pages, Instagram accounts and Viber bots, plus the company's Viber Channels (one-way broadcast feeds it posts to; list_channels returns them as viberChannels). Read actions: list_channels, get_channel, preview_token, connect_status (after a login link), list_whatsapp_templates. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (channels_query only) to list the actions with their inputs.","minLength":1,"maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Channels query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"complete_task","title":"Complete task","description":"Mark a task done (or re-open it with completed: false). taskId from list_tasks.","inputSchema":{"type":"object","properties":{"taskId":{"type":"string","description":"Task id from list_tasks."},"completed":{"type":"boolean","description":"true (default) = done, false = re-open."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["taskId"]},"annotations":{"title":"Complete task","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"connect_3cx","title":"Connect 3cx","description":"Connect a 3CX (V20 Update 10 or later) so an AI agent answers as a 3CX extension, without a SIP trunk. First have the user create a Service Principal in 3CX: Admin → Integrations → API → Add, a Client ID (e.g. \"ai\"), tick \"3CX Call Control API access\", optionally assign a DID, save and copy the key (shown once). Then pass the 3CX https address, Client ID and key. Returns connected / auth_failed / error and what to do next. For older 3CX versions use connect_pbx (trunk) instead.","inputSchema":{"type":"object","properties":{"pbxBase":{"type":"string","description":"The 3CX web address, e.g. https://company.3cx.eu","format":"uri","maxLength":255},"appId":{"type":"string","description":"Client ID of the 3CX Service Principal (Admin → Integrations → API). Staff dial it to reach the agent.","minLength":1,"maxLength":64},"appSecret":{"type":"string","description":"API key / Client Secret 3CX showed once when the Service Principal was saved.","minLength":8,"maxLength":512},"agentId":{"type":"string","description":"AI agent that answers. Defaults to the company's first agent.","maxLength":64},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["pbxBase","appId","appSecret"]},"annotations":{"title":"Connect 3cx","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"connect_ai_platform_agent","title":"Connect AI platform agent","description":"Needs the \"Allow SIP Trunking\" plan feature (listed only when the company has it; Voice Logica admins always): connect an ElevenLabs, Vapi or Retell agent to a trunk in one step. Imports the line's number (default: the trunk's Default Phone Number) on the platform with this trunk as its SIP trunk (the trunk's external login is made if needed; only our servers may send it calls), assigns the agent, and sends the number's calls to it (the trunk default, or the number's own route; a route shared with other numbers is refused). The key comes from the AI keys page. After this, calls to the number reach the agent and the agent can call out and transfer through the line. routeInbound:false = outbound only: the agent calls out through this line and nothing about its incoming calls changes (for an agent whose number arrives on another line).","inputSchema":{"type":"object","properties":{"provider":{"type":"string","description":"The AI platform: elevenlabs, vapi or retell. Its key must be saved on the AI keys page.","enum":["elevenlabs","vapi","retell"]},"agentId":{"type":"string","description":"The agent (assistant) to answer this line, from list agents.","minLength":1,"maxLength":200},"phoneNumber":{"type":"string","description":"The number to import on the platform. Defaults to the trunk's Default Phone Number.","maxLength":32},"routeInbound":{"type":"boolean","description":"Default true: calls to the number are also sent to the agent (the number's own route, else this line's default destination). false = outbound only: the platform number calls OUT through this line with its login, and nothing about incoming calls changes on our side (no route, no destination). Use it to let an agent whose number arrives on another line call out through this one."},"sipTrunkId":{"type":"string","description":"The trunk (line), from get_sip_trunks.","minLength":1},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["provider","agentId","sipTrunkId"]},"annotations":{"title":"Connect AI platform agent","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"connect_integration","title":"Connect integration","description":"Connect an integration with the same credentials the Integrations page asks for, check its connection, or disconnect it (step \"disconnect\", confirm with the user first). Without args it returns the status (or a sign-in link for OAuth providers); when not connected it lists the exact connect args. Providers and their args: freshdesk: subdomain (the X in X.freshdesk.com), apiKey (agent API key); zendesk: subdomain (the X in X.zendesk.com), email (agent), apiToken; exelixis_smart: baseUrl (service root, e.g. http://host:5011), apiKey (X-Api-Key), optional label; megasoft: siteKey, username, password; optional baseUrl, storeName, storageCode and order defaults (defaultStorageCode is needed before orders can be created); salesforce: optional sandbox: true; returns a sign-in link; microsoft: none; returns a sign-in link (Outlook calendar/contacts, Teams); zoho: none; returns a sign-in link; gohighlevel: none; returns a sign-in link where the user picks the sub-account; google_chat: none; returns a sign-in link (Workspace account); courier: none; status of every Greek courier (connect one by its own provider name). Credential providers (call without args first to get the connect args): soft1_erp (SoftOne. First step \"discover-selections\" with baseUrl (or tunnelId), username, password, appId → pick company/branch/module/refId from the result (ask the user when there are several), then connect with all of them. Once connected, step \"sales-defaults\" changes the connection settings (series, payment, shipment, salesDocCommentsField, salesDocQuantityField QTY1|QTY2, browserLists, maxSearchResults); step \"sync-now\" re-syncs customers and items now (args { full: true } refetches the whole catalogue, { daysBack } backfills order history); step \"validate-lists\" (optional args { trdr, itemCode }) runs every configured browserLists entry with a real customer/item and reports latency, columns and whether the filter narrows the rows — run it after changing browserLists; step \"workflow-write-objects\" (args { objects?: [{ object: \"SOACTION\", allowUpdate?: true }], jsServices?: [{ script: \"VoiceLogica\", function: \"getOpenTickets\" }] }, integration admins only) sets what the \"Soft1 — Custom service\" workflow node may change: objects = the Soft1 objects it may write with setData (never deletes), jsServices = the custom JS web services (<base URL>/JS/<script>/<function>) it may call. A list that is sent replaces the stored one, a list left out stays, an empty list = none; reads (SQL script, getData, browser list) need no setup); entersoft_one (Entersoft ONE ERP); galaxy_erp (SingularLogic / Epsilon Galaxy ERP); galaxy_drugstore (Galaxy pharmacy ERP; step \"update-settings\" changes warehouses/companies after connecting); odoo_erp (Odoo); sap_erp (SAP); pylon_erp (Epsilon Pylon); splynx (Splynx ISP billing); woocommerce (WooCommerce store); shopify (Shopify; step \"install-url\" returns the app install link (extraScopes [\"read_fulfillments\"] asks a connected store for shipment access), or connect with an Admin API access token. Status includes `events` for workflow onShopifyEvent triggers; step \"events-sync\" re-registers their webhooks); magento (Magento / Adobe Commerce); opencart (OpenCart); prestashop (PrestaShop); gonnaorder (GonnaOrder); custom_api (Custom REST API); webhotelier (WebHotelier); hosthub (Hosthub. Once connected, step \"rental-fees\" sets the cleaning fee (per stay) and tax (per night) the agent adds to its price quotes, per rental id from list_rentals: args { rentalFees: { \"<rentalId>\": { cleaningFee: 35, taxPerNight: 2 } } }; null for a rental removes its fees. Status shows the saved fees. Step \"sync-now\" re-syncs reservations (used to recognise callers by phone)); guesty (Guesty); airtable (Airtable; step \"list-tables\" lists the base tables to pick from); jira (Jira); clickup (ClickUp; step \"discover-lists\" lists the lists to pick from); trello (Trello); viva (Viva Wallet payments); acs_courier (ACS courier); geniki_taxydromiki (Geniki Taxydromiki courier); boxnow (BoxNow courier); skroutz_lastmile (Skroutz Last Mile courier); meta_leads (Facebook / Instagram Lead Ads; no args: returns a Facebook sign-in link); google_ads_leads (Google Ads lead forms; no args: status plus a Google sign-in link until signed in. Step \"connect\" only mints the webhook URL and key to paste into Google Ads by hand); tiktok_leads (TikTok Lead Generation; no args: returns a TikTok sign-in link); slack (Slack; no args: status, plus an \"Add to Slack\" link until connected); linkedin_leads (LinkedIn Lead Gen Forms; no args: returns a LinkedIn sign-in link). Once connected, use it through describe_integration, integration_query and integration_execute. For an office phone system use connect_pbx.","inputSchema":{"type":"object","properties":{"provider":{"type":"string","description":"The integration to connect or check.","enum":["freshdesk","zendesk","exelixis_smart","megasoft","salesforce","microsoft","zoho","gohighlevel","google_chat","courier","soft1_erp","entersoft_one","galaxy_erp","galaxy_drugstore","odoo_erp","sap_erp","pylon_erp","splynx","woocommerce","shopify","magento","opencart","prestashop","gonnaorder","custom_api","webhotelier","hosthub","guesty","airtable","jira","clickup","trello","viva","acs_courier","geniki_taxydromiki","boxnow","skroutz_lastmile","meta_leads","google_ads_leads","tiktok_leads","slack","linkedin_leads"]},"step":{"type":"string","description":"Setup step for providers that have several (e.g. soft1_erp: discover-selections, then connect); \"disconnect\" removes the connection. Default: connect."},"args":{"type":"object","description":"The provider's own arguments. Omit (with no step) to check the connection; when not connected the answer lists the exact connect args."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["provider"]},"annotations":{"title":"Connect integration","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"connect_pbx","title":"Connect PBX","description":"Connect the business's own office phone system (PBX: Panasonic, Grandstream, Yeastar, 3CX, FreePBX, Alcatel OXO, Avaya or any SIP PBX) so it can send calls to an AI agent and the agent can transfer back to extensions. Creates the trunk with generated credentials and returns the server, port, username, password (shown only now) and step-by-step instructions in that PBX's own menus. Walk the user through the steps one at a time, then call pbx_query (action \"check_pbx_connection\"). The PBX registers outward, so no port forwarding or public IP is needed.","inputSchema":{"type":"object","properties":{"brand":{"type":"string","description":"PBX make and the models its steps cover: panasonic (KX-NS300 / NS500 / NS700 / NS1000, KX-NSX1000 / NSX2000); panasonic_tde (KX-TDE100 / TDE200 / TDE600, KX-NCP500 / NCP1000 (and KX-TDA100/200 upgraded with a KX-TDE0101 processor)); panasonic_hts (KX-HTS32, KX-HTS824 (SIP carrier built in, no licence)); panasonic_tda (KX-TDA15, KX-TDA30 with the KX-TDA3450 SIP-GW card (up to 8 SIP channels). TDA100/200/600 have no SIP card: use the gateway option.); grandstream (UCM6300 series and other UCM6xxx); yeastar_p (P-Series Appliance, Software and Cloud editions); yeastar_s (S20 / S50 / S100 / S300 / S412); threecx (3CX v20 (v18 is similar)); freepbx (FreePBX 16 / 17 with PJSIP (also Sangoma PBXact)); alcatel_oxo (OmniPCX Office, OXO Connect (configured in OMC)); avaya_ipo (IP Office (Manager)); unify_osbiz (OpenScape Business X1 / X3 / X5 / X8 and S); ipecs (iPECS eMG80 / eMG100 / eMG800, UCP); nec (SL2100, SL1100, SV9100 (PCPro / WebPro)); gateway (For PBXs without SIP: ISDN BRI gateway (beroNet, AudioCodes Mediant BRI, Patton), FXO or FXS gateway (Grandstream HT813 / HT812 / GXW410x)); other (Any PBX that can register a SIP trunk to a provider).","enum":["panasonic","panasonic_tde","panasonic_hts","panasonic_tda","grandstream","yeastar_p","yeastar_s","threecx","freepbx","alcatel_oxo","avaya_ipo","unify_osbiz","ipecs","nec","gateway","other"]},"agentId":{"type":"string","description":"AI agent that answers calls the PBX sends. Defaults to the company's first agent.","maxLength":64},"name":{"type":"string","description":"Trunk name shown in the app. Defaults to \"<Brand> PBX\".","minLength":1,"maxLength":100},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["brand"]},"annotations":{"title":"Connect PBX","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"crawl_website_pages","title":"Crawl website pages","description":"Step 1 of connecting a website: crawl a URL and return the pages that COULD be ingested, without changing anything. Review the list, drop what the agent should not read, then pass the pages you want to add_knowledge_link as \"pages\". Filtered out for you: asset files (PDF/images), share links, excluded paths, and anything not on the same site as the URL — a crawl surfaces third-party links (cookie vendors, Spotify, Facebook groups, app stores) that must not become knowledge for the company being configured. Use this whenever you want control over what gets ingested — add_knowledge_link will otherwise crawl and take everything it finds.","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Base website URL to crawl, e.g. \"https://example.com\"."},"excludeUrls":{"type":"array","description":"Pages to leave out of the result. Accepts full URLs or path prefixes such as \"/admin\", \"/login\", \"/cart\".","items":{"type":"string"}},"maxPages":{"type":"number","description":"Cap on pages returned (default 50, max 200). Pages beyond the cap are counted in skipped.overCap, never silently dropped."},"allowHosts":{"type":"array","description":"Extra hostnames to treat as part of the site, e.g. [\"shop.example.net\"]. Subdomains of the crawled host are already included; use this only when the content genuinely lives on another domain.","items":{"type":"string"}},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["url"]},"annotations":{"title":"Crawl website pages","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"create_agent","title":"Create agent","description":"Create a new AI agent that can handle phone calls. Requires a name and agent type. Agent types: \"prompt-based\" (standard conversational agent — best for most use cases), \"analysis-agent\" (analyzes calls transferred to humans), \"ai-assistant\" (personal voicemail/assistant), \"node-based\" (advanced visual flow builder). The agent is created with default settings. Use edit_agent_prompt (prompt) to set the system prompt afterward. The response includes dialIn (test-line number + PIN) — give that to the user as-is to hear the agent by phone; never pair the PIN with another number.","inputSchema":{"type":"object","properties":{"name":{"type":"string","example":"Customer Support Agent","minLength":1,"maxLength":200},"agentType":{"type":"string","enum":["prompt-based","analysis-agent","ai-assistant","node-based"],"example":"prompt-based"},"language":{"type":"string","description":"Locale code","enum":["ar-AE","ar-BH","ar-EG","ar-KW","ar-OM","ar-QA","ar-SA","ar-LB","ar-MA","el-GR","en-US","es-ES","fr-FR","el-CY","en-DK","he-IL","bg-BG","ru-RU","de-DE","it-IT","pt-PT","ru-RU","tr-TR","zh-CN","ja-JP","ko-KR","ja-JP","ar-SA","hi-IN","bn-BD","pa-IN","ta-IN","te-IN","ur-IN","vi-VN","th-TH","id-ID","ms-MY","fil-PH","nl-NL","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","zh-MO","zh-SG","zh-CH","zh-CHT","zh-CHS","zh-CHT","ro-RO","hu-HU","pl-PL","sr-RS","mk-MK","bg-BG","uk-UA","en-GB","en-AU","en-CA","en-NZ","en-ZA","en-IN","en-IE","en-PH","en-SG","en-HK","en-MO","en-CN","en-TW","en-MY","nl-BE","de-AT","de-CH","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","cs-CZ","sk-SK","sl-SI","hr-HR","lt-LT","lv-LV","et-EE","mt-MT","lb-LU","sq-AL","bs-BA","ca-AD","fr-MC","it-SM","it-VA","ur-PK"],"example":"en-US"},"generateWithAi":{"type":"boolean","description":"Whether the agent should be generated with AI","example":false},"instructionsPrompt":{"type":"string","description":"The instructions prompt for the agent","example":"Generate a prompt for the agent to use when answering calls."},"voiceMailPhoneNumber":{"type":"string","description":"The voicemail phone number for the agent (must be verified). Only applicable for ai-assistant agents.","example":"+306912345678"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["name","agentType"]},"annotations":{"title":"Create agent","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"create_api_lookup_workflow","title":"Create API lookup workflow","description":"Create a ready, wired workflow that lets the agent look something up in the business's own API during a call (an order, booking or balance) and answer from it, and attach it to an agent. The agent asks the caller for one value and reads the API with GET. The URL is called later during calls, never while this tool runs. The result can be adjusted afterwards like any workflow.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Workflow name. Defaults to one based on the template.","minLength":1,"maxLength":100},"agentId":{"type":"string","description":"Agent to attach it to. Defaults to the company default agent; a workflow does nothing until attached.","maxLength":64},"headers":{"type":"array","description":"api_lookup / after_call_webhook: e.g. [{key: \"Authorization\", value: \"Bearer ...\"}]","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"value":{"type":"string"}},"required":["key","value"]}},"functionName":{"type":"string","description":"sms_link / api_lookup: name of the in-call action, e.g. look_up_order. Defaults per template.","pattern":"^[a-z][a-z0-9_]{2,40}$"},"condition":{"type":"string","description":"sms_link / api_lookup: when the agent should use it, in plain words (under 200 characters).","maxLength":190},"url":{"type":"string","description":"The business's API address with the caller-provided value as {{<parameterName>}}, e.g. https://shop.example/api/orders/{{order_number}}. Read with GET.","format":"uri"},"parameterName":{"type":"string","description":"What the agent asks the caller for, e.g. order_number.","pattern":"^[a-z][a-z0-9_]{1,40}$"},"parameterDescription":{"type":"string","description":"What it is, e.g. \"The order number the caller gives\".","maxLength":200},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["url","parameterName","parameterDescription"]},"annotations":{"title":"Create API lookup workflow","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"create_campaign","title":"Create campaign","description":"Create an outbound calling campaign in draft status. A campaign is a REUSABLE setup for one purpose (agent, script/promptSection, caller ID, schedule, retries, stages), not one call: check get_campaigns first and add leads to an existing campaign with the same purpose and agent. Per-person details (offer, price, order no., call time) go on the lead (contextForAi, dynamicVariables, scheduledAt), never into a new campaign. Create a new one only for a different purpose or script, agent/brand, caller ID, schedule or retry policy, or a list that needs its own report; name it after the purpose, not a person or date. To call ONE person now, use initiate_call (with contextForAi) instead. If an active/paused/draft campaign with the same agent and purpose exists, the result carries a warning naming it. Required: name. Optional: agentId and sipTrunkIds (defaults to the company default agent/trunk) or verifiedCallerId (a verified number on the Voice Logica line), schedule (days + timeZone + runEverySeconds), timezone, retries (0-10, default 3), retryDelayMinutes (60-40320, default 240) or retrySchedule (growing waits), maximumConcurrentCalls, purpose, appointmentServiceKeys, defaultCallerIds, promptSection, welcomeMessage, dynamicWelcomeMessage, welcomeInstructions, hangupAfterWelcome (announcement only: hang up once the fixed welcomeMessage has played),knowledgeFileIds (files the calls use instead of the agent ones), leadLanguages (languages a lead may start in, set per lead in language), voices (1-5 voices instead of the agent voice; 2+ = each lead keeps one and get_campaign_results compares them), notificationSettings, userSettings, stages (call outcomes, each can SMS/email the lead), maxRetriesFollowUp (SMS/email when nobody ever picks up), analysisProperties, acceptDynamicVariables + leadColumns, allowedPhoneNumbers (the company's own test phones only), defaultCampaign. Omit stages or analysisProperties to get the goal's defaults. Follow-up SMS go out from the sender campaigns_query (action \"get_campaign_sms_sender\") shows, unless a message sets sms.sender. After create, add leads with leads_execute (action \"create_campaign_leads\"), or leads_execute (action \"import_campaign_leads\") for a spreadsheet, then, once the user agrees, campaigns_execute (action \"resume_campaign\") to start calling. Use campaigns_execute (action \"test_campaign\") to try one number first. purpose is fixed at create — use update_campaign for the other fields.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the campaign","minLength":1},"description":{"type":"string","description":"Description of the campaign purpose and goals"},"retries":{"type":"integer","description":"Call-backs after the first call when nobody answers: busy, voicemail, no answer or failed to connect (0-10, default 3). A lead gets at most retries + 1 calls; with retry stages the cap is shared (first call + the larger of retries and the highest stage maxRetries).","minimum":0,"maximum":10},"maximumConcurrentCalls":{"type":"number","description":"Maximum number of simultaneous calls (1-100)","minimum":1,"maximum":100},"retryDelayMinutes":{"type":"integer","description":"Minutes to wait between call-backs when nobody answers. Default 240 (4 hours); allowed 60-40320 (1 hour to 4 weeks). Ask the user before setting it below 240.","default":240,"minimum":60,"maximum":40320},"retrySchedule":{"type":"object","description":"Growing no-answer waits: { stepsMinutes: [wait before call-back 1, 2, …], thenEveryMinutes? (each later one; default the last step) }, e.g. 1h, 1d, 4d then daily = { stepsMinutes: [60, 1440, 5760], thenEveryMinutes: 1440 }. Overrides retryDelayMinutes; retries still caps the count. null = one fixed wait. Retry stages take the same retrySchedule (30-10080 each).","properties":{"stepsMinutes":{"type":"array","description":"Minutes before call-back 1, 2, 3… (60-40320 each)","items":{"type":"integer","minimum":60,"maximum":40320}},"thenEveryMinutes":{"type":"integer","description":"Minutes before each call-back after the listed ones (default: the last one again)","minimum":60,"maximum":40320}},"required":["stepsMinutes"]},"schedule":{"type":"object","description":"Campaign scheduling configuration including days, hours, and frequency. Without days: Monday-Friday 09:00-18:00, as on the New Campaign screen","properties":{"days":{"type":"array","description":"Days of the week and hours of the day to run the campaign. Same weekday may appear more than once (split shifts).","items":{"type":"object","properties":{"runFromTime":{"type":"object","description":"Start of the campaign calling window on this day. Independent of the company operating hours: a campaign may call after the company closes","properties":{"hours":{"type":"number","minimum":0,"maximum":23},"minutes":{"type":"number","minimum":0,"maximum":59}},"required":["hours","minutes"]},"runToTime":{"type":"object","description":"End of the campaign calling window on this day (e.g. 20:00 while the company closes at 17:00)","properties":{"hours":{"type":"number","minimum":0,"maximum":23},"minutes":{"type":"number","minimum":0,"maximum":59}},"required":["hours","minutes"]},"day":{"type":"string","description":"Day of the week","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]}},"required":["runFromTime","runToTime","day"]}},"timeZone":{"type":"string","description":"IANA time zone, e.g. Europe/Athens"},"runEverySeconds":{"description":"How often the campaign checks for leads to call, in seconds: 60, 300, 900, 1800, 3600, 7200, 14400, 28800, 57600 or 86400. Use 60 unless asked otherwise."}}},"timezone":{"type":"string","description":"IANA time zone, e.g. Europe/Athens"},"agentId":{"type":"string","description":"ID of the AI agent to use. If not provided, the default agent will be used"},"sipTrunkIds":{"type":"array","description":"SIP trunks to dial out from. Get IDs from get_sip_trunks (MCP) or POST /phones/sip-trunks/query (REST). If omitted, the company default trunk is used.","items":{"type":"string"}},"purpose":{"type":"string","description":"What the campaign is trying to achieve. Set at create only — cannot be changed later. Non-custom purposes seed analysis fields and call instructions; \"custom\" (default) seeds nothing","enum":["appointment","lead_qualification","event_invite","payment_collection","custom"]},"appointmentServiceKeys":{"type":"array","description":"Appointment campaigns only: serviceKeys from the agent's appointmentSettings.services that this campaign books. Omitted, a lead is treated as already booked when ANY upcoming calendar event carries their phone number or email; with services set, the event must also name one of them, so a lead booked for a different service is still called.","items":{"type":"string"}},"defaultCallerIds":{"type":"array","description":"Pool of numbers to present to the people called, for leads without their own callerId. Each must be a number the campaign's SIP trunks own (the trunk default number or an inbound trunk number / DID). One entry = every lead sees that number; several = spread across leads by a hash of the lead id, each lead keeping the same number across its retries (changing the list reshuffles them). Order used per call: lead.callerId, then this pool. With neither, the carrier shows the number registered for the SIP account (the trunk default number is not sent).","items":{"type":"string","maxLength":20}},"promptSection":{"type":"string","description":"Campaign call instructions injected into the agent context at the start of every campaign call (max 5000 characters; facts belong in knowledge)","maxLength":5000},"dynamicWelcomeMessage":{"type":"boolean","description":"When true, campaign calls open with an AI-generated greeting from the campaign goal and lead context instead of the agent's fixed welcome. Each such call is billed with a 10-second minimum, even if unanswered."},"welcomeMessage":{"type":"string","description":"Static opening spoken on every campaign call instead of the agent welcome. Used only when dynamicWelcomeMessage is not true. Send \"\" to fall back to the agent welcome.","maxLength":2000},"hangupAfterWelcome":{"type":"boolean","description":"Announcement only: true hangs up each call as soon as the fixed welcomeMessage has played, with no conversation and no wait for the callee to speak (one-way notices). Needs a welcomeMessage; ignored when dynamicWelcomeMessage is true. Inbound calls of the agent are not affected."},"welcomeInstructions":{"type":"string","description":"Instructions the AI follows when it writes the opening of each call. Used only when dynamicWelcomeMessage is true. Variables such as {{greeting}}, {{name}} and lead fields are filled in per lead. Send \"\" to let the AI decide the opening.","maxLength":8000},"knowledgeFileIds":{"type":"array","description":"Knowledge files the campaign calls use instead of the agent files (ids from knowledge_query). Empty = the agent own files. Send [] to go back to the agent files.","items":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"}},"leadLanguages":{"type":"array","description":"Languages a lead of this campaign may start the call in (the agent primary language or its enabled secondary languages, each with its own voice). Set the language per lead; empty = every lead starts in the agent primary language. Send [] to turn it off.","items":{"type":"string","description":"Locale code","enum":["ar-AE","ar-BH","ar-EG","ar-KW","ar-OM","ar-QA","ar-SA","ar-LB","ar-MA","el-GR","en-US","es-ES","fr-FR","el-CY","en-DK","he-IL","bg-BG","ru-RU","de-DE","it-IT","pt-PT","ru-RU","tr-TR","zh-CN","ja-JP","ko-KR","ja-JP","ar-SA","hi-IN","bn-BD","pa-IN","ta-IN","te-IN","ur-IN","vi-VN","th-TH","id-ID","ms-MY","fil-PH","nl-NL","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","zh-MO","zh-SG","zh-CH","zh-CHT","zh-CHS","zh-CHT","ro-RO","hu-HU","pl-PL","sr-RS","mk-MK","bg-BG","uk-UA","en-GB","en-AU","en-CA","en-NZ","en-ZA","en-IN","en-IE","en-PH","en-SG","en-HK","en-MO","en-CN","en-TW","en-MY","nl-BE","de-AT","de-CH","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","cs-CZ","sk-SK","sl-SI","hr-HR","lt-LT","lv-LV","et-EE","mt-MT","lb-LU","sq-AL","bs-BA","ca-AD","fr-MC","it-SM","it-VA","ur-PK"]}},"voices":{"type":"array","description":"Instead of the agent voice. 1 voice: all calls. 2-5: each lead keeps one random voice; get_campaign_results byVoice compares them. [] = the agent voice","items":{"type":"object","properties":{"voiceProvider":{"type":"string","description":"list_voices","enum":["microsoft","openai","google","elevenlabs","deepgram","minimax","murf","voicelogica","soniox","grok","gemini"]},"voiceId":{"type":"string","minLength":1,"maxLength":200},"modelId":{"type":"string","description":"ElevenLabs only; omitted = the agent one","enum":["eleven_flash_v2_5","eleven_turbo_v2_5","eleven_multilingual_v2","eleven_v3","eleven_v4","eleven_v4_turbo"]},"name":{"type":"string","description":"Label in the results","maxLength":80}},"required":["voiceProvider","voiceId"]}},"notificationSettings":{"type":"object","description":"Email notifications for campaign events","properties":{"enabled":{"type":"boolean","description":"Whether to email campaign notifications"},"emails":{"type":"array","description":"Addresses that receive campaign notifications","items":{"type":"string","format":"email"}}}},"userSettings":{"type":"object","description":"Human campaign seats: assigned users, dispatch strategy, and AI overflow. Users join from the Windows app (POST /campaigns/:id/join) or by dialing the campaign extension.","properties":{"userIds":{"type":"array","description":"Company users who dial into the campaign and take leads","items":{"type":"string"}},"dispatchStrategy":{"type":"string","description":"How the next lead is given to a waiting user. random: any free user; least_answered: the user with the fewest leads this session; round_robin: fixed rotation, the user whose last lead was given longest ago (equal count per user); longest_waiting: the user who has been free the longest since their last lead ended (shares the load when call lengths differ)","enum":["random","least_answered","round_robin","longest_waiting"]},"overflowToAi":{"type":"boolean","description":"If a live lead cannot attach to an online assigned user, send it to the campaign AI. Omitted: off when userIds is set on create, unchanged on update. Leads are not dialed unless an assigned user is online."},"wrapUpSeconds":{"type":"integer","description":"Seconds after a lead hangup before the user can take another lead","minimum":0,"maximum":300},"restrictDialIn":{"type":"boolean","description":"When true, only listed userIds may dial the campaign extension"},"maskPhoneNumbers":{"type":"boolean","description":"When true, team members see this campaign's lead and call numbers masked (69•• ••• 1234); admins and API keys still see them. Default false"}}},"stages":{"type":"array","description":"What the AI records after someone picks up. REPLACES the whole list — call get_campaign first and send back every stage you want to keep. Each stage: { name (lowercase_snake, unique), displayName?, description (when the AI should pick it), nextAction, followUp? }. nextAction: \"success\" | \"failed\" | \"other\" end the lead (no more calls); \"retry\" calls back later and then also needs maxRetries (\"Calls on this stage\" in the app, 1-10, counting the call that put the lead there: Try later set to 5 = up to 4 more calls; 1 = no call-back) and retryIntervalMinutes (30-10080 = 30 minutes to 1 week). retryIntervalMode \"ai\" (+ optional retryIntervalInstructions) lets the analysis pick the wait; retryIntervalMinutes is then the fallback. The campaign has one cap per lead, not a sum: the first call plus the larger of `retries` and the highest retry-stage maxRetries. followUp sends a message the moment the AI picks this stage: { sms?: { to, body }, email?: { to, subject, body } }. to/subject/body accept {{variables}} — sms.to is usually \"{{lead.phone_number}}\", email.to \"{{lead.email}}\". Example: [{ \"name\": \"booked\", \"displayName\": \"Booked\", \"description\": \"They agreed a date and time\", \"nextAction\": \"success\", \"followUp\": { \"sms\": { \"to\": \"{{lead.phone_number}}\", \"body\": \"Thanks! See you soon.\" } } }, { \"name\": \"call_later\", \"displayName\": \"Try later\", \"description\": \"They asked us to call back another time\", \"nextAction\": \"retry\", \"maxRetries\": 2, \"retryIntervalMinutes\": 1440 }]","items":{}},"maxRetriesFollowUp":{"type":"object","description":"Email and/or SMS sent when the AI assigns this stage","properties":{"sms":{"type":"object","properties":{"to":{"type":"string","description":"Recipients, comma-separated. Default {{lead.phone_number}}","default":"{{lead.phone_number}}","minLength":1,"maxLength":500},"body":{"type":"string","description":"SMS text","minLength":1,"maxLength":1600},"sender":{"type":"string","description":"Verified sender ID; omit for automatic (get_campaign_sms_sender)","maxLength":11}},"required":["body"]},"email":{"type":"object","properties":{"to":{"type":"string","description":"Recipients, comma-separated. Default {{lead.email}}","default":"{{lead.email}}","minLength":1,"maxLength":1000},"subject":{"type":"string","minLength":1,"maxLength":300},"body":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","body"]}}},"analysisProperties":{"type":"array","description":"Campaign analysis fields, filled after each call of this campaign on top of the agent's own (same name: the campaign's wins). REPLACES the whole list. Omit on create to get the goal's default fields.","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"displayName":{"type":"string"},"index":{"type":"integer","minimum":0},"description":{"type":"string"},"aiGenerated":{"type":"boolean"},"type":{"type":"string","enum":["string","number","boolean","array","date","time","enum","object"]},"arrayType":{"type":"string","enum":["string","number","boolean","date","time","enum","object"]},"objectProperties":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["string","number","boolean","date","time","enum"]},"options":{"type":"array","items":{"type":"string"}},"required":{"type":"boolean"},"value":{"description":"Tool parameters: the fixed value used when aiGenerated is false. Post-call analysis properties: a fallback saved only when the analysis cannot produce a value (call shorter than minimumDuration, not answered, no caller speech, or the AI left the field empty). It never replaces a value the AI extracted. Supports {{variables}}. Ignored on top-level object/array properties. Pass it as a plain string, number or boolean (e.g. \"{{customer_name}}\"), never wrapped in an object."}},"required":["name","type"],"example":{"id":"prop1","name":"propertyName","description":"A sample property","type":"string","required":true,"value":"sample value"}}},"enumOptions":{"type":"array","items":{"type":"string"}},"required":{"type":"boolean"},"value":{"description":"Tool parameters: the fixed value used when aiGenerated is false. Post-call analysis properties: a fallback saved only when the analysis cannot produce a value (call shorter than minimumDuration, not answered, no caller speech, or the AI left the field empty). It never replaces a value the AI extracted. Supports {{variables}}. Ignored on top-level object/array properties. Pass it as a plain string, number or boolean (e.g. \"{{customer_name}}\"), never wrapped in an object."},"isConstantForContactEntity":{"type":"boolean"}},"required":["name","type"],"example":{"id":"param1","name":"parameterName","displayName":"Parameter Name","index":0,"description":"A sample parameter","aiGenerated":false,"type":"string","required":true,"value":"default value","isConstantForContactEntity":false}}},"acceptDynamicVariables":{"type":"boolean","description":"true (default): any extra lead column becomes a {{variable}}. false: only leadColumns (plus phone) are accepted on leads."},"leadColumns":{"type":"array","description":"Extra lead columns { name, type: string|number|boolean|date } accepted when acceptDynamicVariables is false. REPLACES the list.","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"type":{"type":"string","enum":["string","number","boolean","date"]}},"required":["name","type"]}},"allowedPhoneNumbers":{"type":"array","description":"Test numbers only: the company's own phones (e.g. the user's mobile). Calls to them skip the daily and cooldown call limits. Never add a customer's number. REPLACES the list.","items":{"type":"string","minLength":5,"maxLength":20}},"verifiedCallerId":{"type":"string","description":"A number verified for the company, shown as caller ID when the campaign dials on the Voice Logica line instead of its own SIP trunk. It must already be verified; \"\" removes it.","maxLength":20},"defaultCampaign":{"type":"boolean","description":"true makes this the company's default campaign and unsets the previous one."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["name"]},"annotations":{"title":"Create campaign","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"create_company","title":"Create company","description":"Create a new company. For admins, super-admins, account managers and resellers. Only name and email are required. A reseller always creates a business client under its own reseller account (resellerName is ignored): the reseller keeps owner access, and it starts on the reseller's client plan without charging credits. Then give it a plan with list_plans and upgrade_plan (companyId), and work inside it with switch_company. Admins and account managers: To assign the company to a reseller, pass resellerName — it is resolved to a reseller by searching companies by name (or exact company ID); if several companies match, an error lists the candidates so you can re-run with the exact name or ID. Omit resellerName for a company with no reseller. Country defaults to Greece when not given. The company email is invited as owner of the client (set-password email; an existing account gets the owner membership at once) unless inviteOwner is false, it is your own email or a placeholder like test@test.gr. Returns the created company id, name, email, resellerId and ownerInvite (status invited / added / already_member / skipped / failed).","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"The company name."},"email":{"type":"string","description":"The company email address."},"phoneNo":{"type":"string","description":"The company phone number."},"website":{"type":"string","description":"The company website URL."},"address":{"type":"string","description":"The company address."},"country":{"type":"string","description":"Country name (e.g. \"Greece\"). Defaults to Greece when omitted."},"vatCode":{"type":"string","description":"The company VAT code."},"resellerName":{"type":"string","description":"Optional, admins and account managers only. Name (or exact company ID) of the reseller company to assign this company to. Resolved by searching companies. Omit for no reseller."},"inviteOwner":{"type":"boolean","description":"Invite the company email as owner of the client (default true). Pass false when the email is not a person who should manage the account."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["name","email"]},"annotations":{"title":"Create company","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"create_knowledge_file","title":"Create knowledge file","description":"Create a knowledge file — a Q&A collection a voice agent uses to answer callers. Optionally assign it to an agent right away (agentId) and seed it with initial entries. Entries are embedded in the BACKGROUND: the call returns immediately and the user is emailed when processing completes or fails. Questions are matched by question-only embeddings, so phrase them as callers would and add altQuestions for phrasing variants.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Knowledge file name."},"description":{"type":"string","description":"What this knowledge file covers."},"agentId":{"type":"string","description":"Agent to assign the new file to (from get_agents). Omit to assign later with knowledge_execute (action \"assign_knowledge_file_to_agent\")."},"language":{"type":"string","description":"Locale the Q&A questions are generated in, e.g. \"el-GR\" for a Greek-speaking audience. Set this to the language your CALLERS use. Defaults to the company country's locale, which is wrong when the company is registered in another country than it operates in.","enum":["ar-AE","ar-BH","ar-EG","ar-KW","ar-OM","ar-QA","ar-SA","ar-LB","ar-MA","el-GR","en-US","es-ES","fr-FR","el-CY","en-DK","he-IL","bg-BG","ru-RU","de-DE","it-IT","pt-PT","ru-RU","tr-TR","zh-CN","ja-JP","ko-KR","ja-JP","ar-SA","hi-IN","bn-BD","pa-IN","ta-IN","te-IN","ur-IN","vi-VN","th-TH","id-ID","ms-MY","fil-PH","nl-NL","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","zh-MO","zh-SG","zh-CH","zh-CHT","zh-CHS","zh-CHT","ro-RO","hu-HU","pl-PL","sr-RS","mk-MK","bg-BG","uk-UA","en-GB","en-AU","en-CA","en-NZ","en-ZA","en-IN","en-IE","en-PH","en-SG","en-HK","en-MO","en-CN","en-TW","en-MY","nl-BE","de-AT","de-CH","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","cs-CZ","sk-SK","sl-SI","hr-HR","lt-LT","lv-LV","et-EE","mt-MT","lb-LU","sq-AL","bs-BA","ca-AD","fr-MC","it-SM","it-VA","ur-PK"]},"entries":{"type":"array","description":"Optional initial entries (max 50). Q&A entries. Retrieval embeds the QUESTION only (the answer is what the agent says back), so phrase questions the way a caller would ask them and add altQuestions for other phrasings — each alternative gets its own embedding.","items":{"type":"object","properties":{"question":{"type":"string","description":"The caller question this entry answers, phrased as a caller would say it (max 300 characters)."},"answer":{"type":"string","description":"The answer the voice agent gives the caller. Keep it under 3000 characters so it stays one row — longer answers are split into numbered parts (\"… (1/2)\"), never dropped. Hard limit 30000; use add_knowledge_text beyond that."},"altQuestions":{"type":"array","description":"Alternative phrasings of the same question — improves recall for different wordings.","items":{"type":"string"}}},"required":["question","answer"]}},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["name"]},"annotations":{"title":"Create knowledge file","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"create_or_update_contact","title":"Create or update contact","description":"Create or update a contact in the company's Contacts. When you already know who this is (the person just called: contactId from get_calls; or one found with list_contacts / search_contact_activity), pass contactId: that contact is updated (a new email is added to it) and no other contact is created. Without contactId, a contact with the phone number (or else the email) is updated, otherwise a new one is created, so an email alone for someone you called creates a duplicate: always pass contactId then. notes are what the AI agent reads about this person when they call. Returns the contact and whether it was \"created\" or \"updated\". To link it to a company record use crm_execute (action \"link_contact_to_company\").","inputSchema":{"type":"object","properties":{"contactId":{"type":"string","description":"The existing contact to update (e.g. contactId of the call you just made, from get_calls). Use it whenever you know the person, so their new email or details land on that contact instead of a new one."},"name":{"type":"string","description":"Full name of the contact (e.g. \"John Smith\"). With contactId, leave empty to keep the current name."},"phoneNumber":{"type":"string","description":"Phone number (E.164 recommended, e.g. \"+306912345678\"). Used to find an existing contact."},"email":{"type":"string","description":"Email address. Used to find an existing contact when there is no phone match."},"notes":{"type":"string","description":"What the AI agent should know about this person when they call (replaces the existing notes)"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["name"]},"annotations":{"title":"Create or update contact","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"create_sip_trunk","title":"Create SIP trunk","description":"Connect a carrier line or a phone system. For an office PBX that can register a trunk, use connect_pbx instead (it generates the credentials and the steps). Kinds: (1) carrier (default): host, port, transport, inboundAuthType and outboundAuthType (\"registration\" with username/password, or \"ip_auth\"); it registers before returning. Port and transport default to 5060 and udp, also for a Yuboto vPBX extension: do not ask the user for them, create the trunk with the defaults (offering to do it now) and change them only if the user gives other values or registration gets no reply. Ask who should answer incoming calls on the line (usually an agent: destinationType \"ai_agent\" with destinationId from get_agents) and pass it; the user may also connect the line without one and set it later with update_sip_trunk. (2) PBX on a private network (10.x, 172.16-31.x, 192.168.x): the same fields with the PBX LAN IP and an extension's username/password; it runs through the company edge device (pass edgeDeviceId when there are several). No edge device yet: pbx_query (action \"get_edge_installer\") first. (3) Microsoft Teams Direct Routing: only name and provider \"msteams\"; the response gives the SBC address to pair in the Microsoft 365 tenant. (4) a PBX that registers to us by hand: sipTrunkRole \"customer_pbx_trunk\", inboundAuthType (\"registration\" or \"ip_auth\" with ipWhitelist), outboundAuthType \"none\"; needs the company SIP domain set first. Follow the returned guidance and nextSteps to finish.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Display name for this trunk (e.g. 'Carrier A', 'PSTN primary')","minLength":1,"maxLength":100},"host":{"type":"string","description":"Remote SIP host, FQDN, or IP address. Required except for incoming PBX trunks.","minLength":1,"maxLength":255},"port":{"type":"integer","description":"Remote SIP port (default 5060). Leave out unless the user gives another one.","default":5060,"minimum":1,"maximum":65535},"transport":{"type":"string","description":"SIP transport: udp (default), tcp, or tls. Leave out unless the user gives another one.","enum":["udp","tcp","tls"],"default":"udp"},"sipTrunkRole":{"type":"string","description":"Business role: outbound carrier, extension to existing PBX, or incoming PBX trunk","enum":["provider_trunk","remote_pbx_extension","customer_pbx_trunk"],"default":"provider_trunk"},"source":{"type":"string","description":"Leave it: 'system' marks Voice Logica free numbers, 'custom' (default) everything else.","enum":["system","custom"],"default":"custom"},"provider":{"type":"string","description":"'msteams' = Microsoft Teams Direct Routing: the peer settings are fixed by the server. Cannot be changed later.","enum":["msteams","sip_uri"]},"sipDomain":{"type":"string","description":"Required for incoming PBX trunks. Slug only, e.g. companyname; users configure companyname.sip.voicelogica.ai in their PBX.","pattern":"^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$"},"supportsInbound":{"type":"boolean","description":"Whether this provider trunk can receive inbound calls from the peer","default":true},"supportsOutbound":{"type":"boolean","description":"Whether this provider trunk can originate outbound calls toward the peer","default":true},"blockInternationalCalls":{"type":"boolean","description":"When true, outbound calls and transfers on this trunk to explicitly international numbers (+ / 00 prefix) outside Greece and Cyprus are refused. Domestic and national-format numbers are unaffected. Omitted on create = true (new lines block calls abroad until turned off)."},"outsideLinePrefix":{"type":"string","description":"Digit(s) the customer's PBX puts in front of outside numbers to get a line (usually '0'). Stripped from inbound caller numbers (06982364479 → 6982364479) and added to numbers dialed out through this trunk; extensions are never changed. Empty = none.","pattern":"^\\d{0,4}$"},"displayLabel":{"type":"string","description":"Short label for this line shown on the desk phones / softphones that ring for its calls (e.g. SALES, 240, YubotoHQ), as \"[SALES] <caller>\". Needs Call settings inboundLineCallerId on. A label on the called number wins. Up to 20 characters; empty = none.","maxLength":20},"inboundAuthType":{"type":"string","description":"How inbound requests from the peer are authenticated: 'ip_auth', 'registration', or 'none'","enum":["ip_auth","registration","none"]},"outboundAuthType":{"type":"string","description":"How this platform authenticates to the peer: 'registration', 'ip_auth', or 'none'","enum":["registration","ip_auth","none"]},"username":{"type":"string","description":"SIP username for outbound registration or digest auth (when applicable)","maxLength":100},"password":{"type":"string","description":"SIP password for outbound registration or digest auth. Required on create. On update, omit, send empty, or a masked *** value to keep the stored secret.","maxLength":200},"authId":{"type":"string","description":"SIP auth ID / login ID for digest authentication (defaults to username if not set)","maxLength":100},"ipWhitelist":{"type":"array","description":"Trusted static source IP addresses or CIDR ranges for inbound SIP when using ip_auth (e.g. 203.0.113.10)","items":{"type":"string","maxLength":128},"default":[]},"allowedRtpIps":{"type":"array","description":"Extra RTP source IPs beyond the SDP media address (same remote port; for split-edge media)","items":{"type":"string","maxLength":128},"default":[]},"privateServers":{"type":"array","description":"Admin-only. RTP server IPs this trunk must use. Empty = public pool. Omit on update to keep the stored pin.","items":{"type":"string","maxLength":128}},"domain":{"type":"string","description":"Optional SIP domain / realm","maxLength":255},"fromDomain":{"type":"string","description":"Optional From/PAI domain override for outbound requests","maxLength":255},"outboundProxy":{"type":"string","description":"Optional outbound SIP proxy (host or host:port)","maxLength":255},"sipProxy":{"type":"string","description":"Alias for outboundProxy; outbound SIP proxy / SBC host used for REGISTER and signaling","maxLength":255},"defaultPhoneNumber":{"type":"string","description":"Optional default phone number for this trunk; used as Refer-To for agent/PIN transfers when the peer expects a trunk DID instead of the PIN","maxLength":32,"pattern":"^\\+?[0-9*#]+$"},"codecs":{"type":"array","description":"Ordered list of allowed audio codecs for this trunk","items":{"type":"string","enum":["pcmu","pcma","g722","opus","telephone-event"]}},"enabled":{"type":"boolean","description":"When false, this trunk is not used for new calls","default":true},"allowOriginationThroughRemotePbx":{"type":"boolean","description":"For remote_pbx_extension only: whether Voice Logica may originate outbound calls through the remote PBX account. New remote PBX extension trunks default to true; omit on update to keep the stored value"},"completeTransferByRefer":{"type":"string","description":"For customer PBX trunks (remote_pbx_extension / customer_pbx_trunk) with announced transfers: who keeps the caller once the recipient accepts. on = the PBX takes the caller with a SIP REFER (no Replaces) and our legs close, so no PBX channels stay busy and billing stops there; auto = the same only when the PBX INVITE does not offer Supported: replaces; off (default) = Voice Logica keeps bridging the two legs. Omit on update to keep the stored value","enum":["auto","on","off"]},"staticDestinationHost":{"type":"string","description":"For IP-auth incoming PBX trunks that do not REGISTER: PBX host/IP where Voice Logica sends calls","maxLength":255},"staticDestinationPort":{"type":"integer","description":"For IP-auth incoming PBX trunks that do not REGISTER: PBX SIP port","default":5060,"minimum":1,"maximum":65535},"maxChannels":{"type":"integer","description":"Concurrent calls on this SIP trunk, inbound + outbound together. null = unlimited. At the cap: inbound gets 486 Busy; campaigns wait for a free channel (no lead attempt).","minimum":1},"pickUpDelay":{"type":"integer","description":"Seconds to let an inbound call ring before the AI answers, so a human extension on the customer PBX gets first refusal (0 = answer immediately)","minimum":0,"maximum":60},"registrationExpiresSeconds":{"type":"integer","description":"REGISTER Expires header (60-86400s). Monitoring refreshes before expiry and clears stale registration after expiry + grace. Default 300.","minimum":60,"maximum":86400},"srtpEnabled":{"type":"boolean","description":"Offer encrypted media (SDES SRTP) on outgoing calls; falls back to plain RTP when the peer refuses. Incoming calls follow the peer either way.","default":false},"destinationType":{"type":"string","description":"Type of destination used by the inbound route","enum":["user","user_group","ai_agent","external_number","external_bridge","conference_room","sip_uri"]},"destinationId":{"type":"string","description":"The id of that destination: for \"ai_agent\" the agent id from get_agents, for \"user\" a user id.","maxLength":255},"webhookUrl":{"type":"string","description":"Pre-answer webhook: each inbound call is POSTed here, and the response can change the agent, welcome message, context and variables.","format":"uri","maxLength":500},"tunnelType":{"type":"string","description":"NAT traversal: none (direct) or wireguard (on-prem edge relay). Same model as VoIP phones; zerotier/ssh are not supported on trunks.","enum":["none","wireguard"],"default":"none"},"contactHost":{"type":"string","description":"Host in our SIP Contact: phone_id (default), company_id, or ip (only for a proxy that mishandles a hostname). Ignored on edge trunks.","enum":["phone_id","company_id","ip"]},"edgeDeviceId":{"type":"string","description":"Bound edge device id when tunnelType is wireguard","maxLength":100},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["name","inboundAuthType","outboundAuthType","codecs"]},"annotations":{"title":"Create SIP trunk","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"create_task","title":"Create task","description":"Create a follow-up task on the Tasks page. kind: todo, call, reminder (dueAt defaults to the end of today), meeting (needs startAt plus endAt or durationMin), or callback. Link a contactId to show it on the contact card; assignedUserId defaults to you (ids from team_query (action \"list_company_users\")). To have the agent create tasks by itself after calls, use tasks_execute (action \"update_task_settings\") instead.","inputSchema":{"type":"object","properties":{"kind":{"type":"string","description":"todo (default), call, reminder, meeting or callback."},"subject":{"type":"string","description":"Short headline, e.g. \"Call back about the invoice\"."},"body":{"type":"string","description":"Notes."},"dueAt":{"type":"string","description":"ISO date-time the task is due (todo, call, reminder, callback). Default for todo, call and reminder: end of today, company time."},"startAt":{"type":"string","description":"ISO date-time a meeting starts."},"durationMin":{"type":"number","description":"Meeting length in minutes."},"priority":{"type":"string","description":"low, medium (default) or high."},"contactId":{"type":"string","description":"Contact to link (from list_contacts)."},"assignedUserId":{"type":"string","description":"User responsible (default: you)."},"sourceCallId":{"type":"string","description":"Call the task came from."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["subject"]},"annotations":{"title":"Create task","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"create_ticket","title":"Create ticket","description":"Open a Voice Logica support ticket for the company. Use it when something is broken on the platform side, e.g. a call failed with no_rtp_stream or call_stuck, a feature errors, or data looks wrong: say what happened and when, and include the Call ID(s). Voice Logica support answers in the ticket and by email; follow it with tickets_query (action \"get_ticket\") and tickets_execute (action \"reply_to_ticket\"). ccEmails are copied on every notification email. Staff: the ticket is filed against the company you act on (pass companyId for a client; check companyName in the response); status, userId, isPrivate and systemGenerated are staff-only.","inputSchema":{"type":"object","properties":{"title":{"type":"string","description":"Ticket title. Keep it a single specific line — it becomes the subject of the notification emails."},"description":{"type":"string","description":"Ticket body (supports HTML). Also stored as the first message on the conversation."},"type":{"type":"string","description":"Ticket type: \"bug\" or \"support\". Defaults to \"support\"."},"priority":{"type":"string","description":"Ticket priority: \"low\", \"medium\", \"high\", or \"urgent\". Defaults to \"medium\". Note that \"urgent\" emails the distributor support address immediately."},"status":{"type":"string","description":"Initial status: \"open\", \"in_progress\", \"closed\", or \"archived\". Defaults to \"open\"."},"ccEmails":{"type":"array","description":"Extra addresses copied on every notification email for this ticket (max 10). Trimmed, lower-cased and de-duplicated before storage."},"userId":{"type":"string","description":"Owner of the ticket. Defaults to the user the call is acting as. The owner receives the reply and status-change emails."},"isPrivate":{"type":"boolean","description":"true files an INTERNAL ticket: support roles see it, the customer never does. Decided at creation and can never be reversed. Default false."},"systemGenerated":{"type":"boolean","description":"Marks the ticket as raised by automation rather than a person. Default false."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["title","description"]},"annotations":{"title":"Create ticket","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"create_webhook_workflow","title":"Create webhook workflow","description":"Create a ready, wired workflow that sends every finished call (summary, transcript, analysis) with POST to the business's CRM, Zapier or Make webhook, and attach it to an agent. The webhook is called after each call, never while this tool runs. The result can be adjusted afterwards like any workflow.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Workflow name. Defaults to one based on the template.","minLength":1,"maxLength":100},"agentId":{"type":"string","description":"Agent to attach it to. Defaults to the company default agent; a workflow does nothing until attached.","maxLength":64},"headers":{"type":"array","description":"api_lookup / after_call_webhook: e.g. [{key: \"Authorization\", value: \"Bearer ...\"}]","items":{"type":"object","properties":{"key":{"type":"string","minLength":1},"value":{"type":"string"}},"required":["key","value"]}},"url":{"type":"string","description":"Where to POST each finished call: a CRM, Zapier or Make webhook.","format":"uri"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["url"]},"annotations":{"title":"Create webhook workflow","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"create_workflow","title":"Create workflow","description":"Create a new empty workflow. After creating, build and wire it with edit_workflow (or start from create_workflow_from_template). Finally use test_workflow to validate.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the workflow"},"visibility":{"type":"string","description":"Visibility: private (default), resellerRead (clients can open, not edit), resellerWrite (clients can open and edit the shared copy), or globalRead"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["name"]},"annotations":{"title":"Create workflow","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"create_workflow_from_template","title":"Create workflow from template","description":"Create a ready, wired workflow in one step and attach it to an agent. Templates: sms_link (the agent texts the caller a link during the call), after_call_email (a summary of every call is emailed). For a lookup in the business's API during the call use create_api_lookup_workflow; to send every finished call to a webhook use create_webhook_workflow. Use it instead of building node by node whenever a template fits; the result can be adjusted afterwards like any workflow.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"Workflow name. Defaults to one based on the template.","minLength":1,"maxLength":100},"agentId":{"type":"string","description":"Agent to attach it to. Defaults to the company default agent; a workflow does nothing until attached.","maxLength":64},"link":{"type":"string","description":"sms_link: the link to text the caller.","format":"uri"},"message":{"type":"string","description":"sms_link: SMS text; {{link}} is replaced with the link. Defaults to a short line plus the link.","maxLength":300},"to":{"type":"array","description":"after_call_email: who gets the summary.","items":{"type":"string","format":"email"}},"functionName":{"type":"string","description":"sms_link / api_lookup: name of the in-call action, e.g. look_up_order. Defaults per template.","pattern":"^[a-z][a-z0-9_]{2,40}$"},"condition":{"type":"string","description":"sms_link / api_lookup: when the agent should use it, in plain words (under 200 characters).","maxLength":190},"template":{"type":"string","description":"sms_link: during a call the agent texts the caller a link (booking page, form, menu). after_call_email: every finished call is emailed as a summary.","enum":["sms_link","after_call_email"]},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["template"]},"annotations":{"title":"Create workflow from template","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"crm_execute","title":"CRM execute","description":"Change actions for crm: sync_google_contacts, update_google_contacts_sync, stop_google_contacts_sync, create_contact_company, update_contact_company, delete_contact_company, link_contact_to_company, unlink_contact_from_company, delete_contact, link_calls_to_named_contacts, import_contacts_from_crm, import_contacts_file, update_contact_sync, sync_contacts_now, create_pipeline_stage, update_pipeline_stage, reorder_pipeline_stages, delete_pipeline_stage, restore_default_pipeline_stages, create_custom_field, update_custom_field, delete_custom_field, add_note, update_note, delete_note, update_email_copy_address, suggest_email_reply, add_to_do_not_call_registry, remove_from_do_not_call_registry, clear_do_not_call_registry, create_resource, update_resource, delete_resource. Inputs: crm_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"CRM execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"crm_query","title":"CRM query","description":"Company records beyond the everyday (list_contact_companies, get_contact_company and set_contact_company_stage stay their own tools): the timeline of a company record and AI summary; create, edit and delete company records; link contacts to them; delete contacts; export contacts to Excel; import contacts from a connected integration and its Sync contacts switch (on, off, sync now); show contact names on past calls after an import; pipeline stages; custom fields of every record type; notes on contacts; custom record types and their records (list_resources stays its own tool), e.g. customer instructions; the email copy address that files copied email on contacts; agent-written suggested replies to filed emails; the do-not-call registry (Μητρώο 11) no call goes to; and the sync of the user's own Google contacts (My contacts and Gmail Other contacts) into Contacts. Read actions: get_contact_company_activity, list_pipeline_stages, list_custom_fields, get_custom_field, get_email_copy_address, export_contacts, get_do_not_call_registry, check_do_not_call_registry, list_resource_types, get_resource, get_google_contacts_sync, get_contact_sync. Changes run with crm_execute, not here. Write actions: sync_google_contacts, update_google_contacts_sync, stop_google_contacts_sync, create_contact_company, update_contact_company, delete_contact_company, link_contact_to_company, unlink_contact_from_company, delete_contact, link_calls_to_named_contacts, import_contacts_from_crm, import_contacts_file, update_contact_sync, sync_contacts_now, create_pipeline_stage, update_pipeline_stage, reorder_pipeline_stages, delete_pipeline_stage, restore_default_pipeline_stages, create_custom_field, update_custom_field, delete_custom_field, add_note, update_note, delete_note, update_email_copy_address, suggest_email_reply, add_to_do_not_call_registry, remove_from_do_not_call_registry, clear_do_not_call_registry, create_resource, update_resource, delete_resource. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"CRM query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"delete_calls","title":"Delete calls","description":"Delete call records (up to 500 per request), e.g. test or demo calls. Their recordings and transcription files are erased permanently. Calls on legal hold, or not visible to you, are skipped and returned in failed. Confirm the list with the user first. Returns { deleted, failed }.","inputSchema":{"type":"object","properties":{"ids":{"type":"array","description":"Call record ids to delete (the id from get_calls), 1-500"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["ids"]},"annotations":{"title":"Delete calls","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"delete_workflow","title":"Delete workflow","description":"Permanently delete a workflow. This action cannot be undone.","inputSchema":{"type":"object","properties":{"workflowId":{"type":"string","description":"The ID of the workflow to delete"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["workflowId"]},"annotations":{"title":"Delete workflow","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"describe_integration","title":"Describe integration","description":"Get the full action catalog of one integration: every action with its description, readOnly flag and JSON input schema for the data payload of integration_query / integration_execute. Call this before first use of an integration in a conversation, or when a gateway call fails validation. Connection state does NOT affect this catalog.","inputSchema":{"type":"object","properties":{"integration":{"type":"string","description":"The integration to act on (see list_integrations for connection status).","enum":["google_meet","trello","clickup","helpdesk","viva","outlook","teams","courier","woocommerce","opencart","custom_api","exelixis_smart","prestashop","shopify","magento","megasoft","gonnaorder","webhotelier","hosthub","tiktok_leads","google_ads_leads","meta_leads","webhook_leads","linkedin_leads","jira","guesty","hubspot","zoho","salesforce","gohighlevel","galaxy_drugstore","galaxy_erp","soft1","pylon","sap","splynx","odoo","entersoft","gtfs","sheets","gdoc","drive"]},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["integration"]},"annotations":{"title":"Describe integration","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"disconnect_google_workspace","title":"Disconnect google workspace","description":"Disconnect the signed-in user's own Google Workspace connection (the account linked on Integrations > Google Workspace): revokes the access at Google and removes the stored token, so Calendar, Contacts, Drive, Sheets and Gmail stop working with that account. When it was also the company-wide Google connection, that is cleared too and company Google features stop until an admin connects or picks another account. Signing in with Google keeps working. Confirm with the user first; reconnecting is the normal Google consent flow.","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Disconnect google workspace","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"edit_agent_prompt","title":"Edit agent prompt","description":"Staff (admins and account managers): for a customer request such as \"I want my agent to do X\", a ticket asking for a behaviour change or a scenario document, use add_agent_instruction instead; it keeps the request verbatim, checks it against what the agent already does and asks the customer when something is unclear. Change part of an agent's prompt and keep the rest: each edit replaces one exact passage (find → replace, empty replace deletes), and append adds a paragraph at the end. Use edits for any change smaller than a rewrite, so nothing you did not mean to touch is lost: read the prompt with get_agent_prompt first and copy the passage exactly (it must appear once). Nothing is saved if any edit does not match. For a full rewrite pass prompt (replaces the whole prompt) and/or additionalCallSystemPrompt. Keep prompts concrete and short: each rule said once, one question at a time, no repeating itself. Long steps for one kind of request (returns, account questions, complaints) go in procedures instead (procedures_execute: action \"create_procedure\", then action \"attach_procedures\"; get_guide agent_procedures): the agent loads them mid-call and only a one-line trigger stays in the prompt. For a callback number the agent asks whether it is the number the caller is calling from, without saying it aloud; a yes means {{phone_number}}, and only a different number is taken down and read back. destination \"version\" saves the result as a numbered version for testing (pass agentVersionId to keep editing that one) and leaves the live agent alone. The prompt (and the greeting and analysis prompts) can use values filled in per call, written flat: {{phone_number}} (the caller), {{date}} (the call start, company time zone), {{greeting}} (Καλημέρα before 12:00 / Καλησπέρα after, company time zone; also in the welcome message), {{caller_salutation}} («κύριε Βουκάλη» for a caller named in Contacts, empty for anyone else; also in the welcome message), {{is_company_open_now}} (true/false), {{call_direction}}, {{duration}}, dynamic variables given when the call was started (e.g. {{customer_name}}), super variables from the call-start webhook, and SIP headers as {{sip:x-header-name}}. A name that is not passed in reaches the agent as having no value for the call, so only use names you know are set.","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","description":"The agent ID. If not provided, uses the default agent"},"edits":{"type":"array","description":"Changes applied in order (at most 20 per call: send the rest in a second call). The rest of the prompt is kept as it is.","items":{"type":"object","properties":{"find":{"type":"string","description":"Exact text in the current prompt to change. It must appear exactly once; include a few surrounding words if it is short.","minLength":1},"replace":{"type":"string","description":"The new text. An empty string deletes `find`."}},"required":["find","replace"]}},"append":{"type":"string","description":"Text added as a new paragraph at the end of the prompt."},"prompt":{"type":"string","description":"A full rewrite: replaces the whole prompt. Use it instead of edits and append, never together.","minLength":1},"destination":{"type":"string","description":"Optional, default \"prod\": the live agent changes immediately and the next caller hears it. \"version\" saves the result as a numbered version WITHOUT touching the live agent (a new one, or agentVersionId when given) — test it with run_agent_scenario (agentVersionId), then put it live with versions_execute (action \"publish_agent_version\"). While a saved version with a production window answers the calls (get_agent_prompt answeringVersion), it changes that version too.","enum":["prod","version"]},"agentVersionId":{"type":"string","description":"With destination \"version\": edit this saved version (from versions_query (action \"list_agent_versions\")) instead of creating a new one. Edits then build on that version's prompt."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Edit agent prompt","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"edit_workflow","title":"Edit workflow","description":"Change a workflow in one call: a list of operations (add_trigger, update_trigger, remove_trigger, add_node, update_node, remove_node, connect, disconnect, add_switch_case) applied in order. Give new items a ref to connect them later in the same list, and to use their output in later settings as {{node_<ref>.<field>}}. Text settings take {{...}} values (the caller, the call, analysis fields, earlier nodes): the full list and the settings per node type are in get_workflow_format. All or nothing: if one fails, the workflow is left as it was. With versionNumber the operations go into that saved version instead and the live workflow is untouched: test it with test_workflow (workflowVersionId), then versions_execute (action \"publish_workflow_version\"). Common cases are faster with create_workflow_from_template.","inputSchema":{"type":"object","properties":{"workflowId":{"type":"string","minLength":1,"maxLength":64},"operations":{"type":"array","description":"Applied in order. If any fails, none are kept.","items":{"type":"object","properties":{"op":{"type":"string","enum":["add_trigger","update_trigger","remove_trigger","add_node","update_node","remove_node","connect","disconnect","add_switch_case"]},"ref":{"type":"string","description":"add_trigger / add_node: a name for the new item, so later operations can use it as id, from or to.","minLength":1,"maxLength":40},"id":{"description":"update_* / remove_* / add_switch_case: the node or trigger (id or ref)."},"triggerType":{"type":"string","description":"add_trigger / update_trigger, e.g. duringCall, onCallEnd, onCallStart, onAPICall."},"triggerConfig":{"type":"object","description":"add_trigger / update_trigger. Fields per trigger type: get_workflow_format."},"nodeType":{"type":"string","description":"add_node, e.g. apiCall, sendSms, emailConfig, aiResponse, codeExecution, switch."},"nodeTitle":{"type":"string","description":"add_node / update_node: the label shown on the canvas."},"config":{"type":"object","description":"add_node / update_node: the node settings, flat. Fields per node type: get_workflow_format."},"name":{"type":"string"},"from":{"description":"connect / disconnect: source trigger or node (id or ref)."},"to":{"description":"connect / disconnect: target node (id or ref)."},"transition":{"type":"string","description":"connect: which branch (success, failure, no_wait, a switch case label); default success, required from a switch. add_switch_case: the new branch label."},"field":{"type":"string","description":"add_switch_case: the value to test, e.g. reason_for_calling."},"operator":{"type":"string","description":"add_switch_case: eq (default), neq, contains, gt, lt, isNull, isTrue..."},"fieldValue":{},"fieldType":{"type":"string"},"conditions":{"type":"array","description":"add_switch_case: several conditions, combined with blockOperator.","items":{"type":"object","properties":{"field":{"type":"string"},"operator":{"type":"string"},"fieldValue":{},"fieldType":{"type":"string"}},"required":["field"]}},"blockOperator":{"type":"string","enum":["and","or"]}},"required":["op"]}},"versionNumber":{"type":"integer","description":"A saved version (versions_query, action \"list_workflow_versions\") to edit instead of the live workflow: the operations go into that version and the live workflow is untouched. Test it with test_workflow (workflowVersionId), then versions_execute (action \"publish_workflow_version\"). Editing the version that is live changes prod at once.","minimum":0},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["workflowId","operations"]},"annotations":{"title":"Edit workflow","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"erase_personal_data","title":"Erase personal data","description":"GDPR erasure (art. 17) of one person in this company. IRREVERSIBLE. Their calls are anonymized (number, transcript, summary, analysis, recordings removed; duration and charges kept); their contact, memories, SMS, notes, tasks, emails and campaign entries are deleted. Calls on legal hold are kept and counted. Always confirm with the user first (name the person and say it cannot be undone), then call with confirm: true. Returns counts only. Copies in connected systems (CRM, e-shop) must be erased there.","inputSchema":{"type":"object","properties":{"contactId":{"type":"string","description":"Voice Logica contact id of the person."},"phoneNumber":{"type":"string","description":"Phone number of the person, any format (+30…, 69…, 0030…)."},"email":{"type":"string","description":"Email address of the person."},"confirm":{"type":"boolean","description":"Must be true, after the user confirmed the irreversible erasure."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["confirm"]},"annotations":{"title":"Erase personal data","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"eshop_execute","title":"Eshop execute","description":"Change actions for eshop: sync_eshop_products, import_eshop_products_xml, clear_eshop_products, propose_eshop_filter_columns, sync_catalog_attributes. Inputs: eshop_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Eshop execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"eshop_query","title":"Eshop query","description":"The e-shop product catalog the agent answers from: sync status, sync products now, import products from an XML file, clear the synced products, propose the catalogue filters (filter columns) search uses; product identification by description: read the products into attributes, report how well they tell products apart, simulate an order line by line. Read actions: get_eshop_sync_status, simulate_product_identification, catalog_readiness_report. Changes run with eshop_execute, not here. Write actions: sync_eshop_products, import_eshop_products_xml, clear_eshop_products, propose_eshop_filter_columns, sync_catalog_attributes. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Eshop query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"execute_mine","title":"Execute mine","description":"Act on my own tasks and settings: complete_task or reopen_task (taskId from list_mine), action \"update_task\" (taskId plus dueAt to reschedule, note to add to the task notes, priority, or cancel with cancelledReason), create_task assigned to me (task: subject, kind, dueAt, ...), or change my own settings: task emails, click-to-call method, my recording and analysis (off, always or on demand), and which caller-card button is primary and opens by itself for me.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"complete_task / reopen_task (taskId), update_task (taskId plus any of dueAt, note, priority, cancel: reschedule, add a line to the task notes, change priority, or cancel it), create_task (a task assigned to me), set_task_emails (taskEmails true/false: email me about my tasks), set_click_to_call_method (clickToCallMethod: how clicking a phone number calls), or set_my_call_settings (recording / analysis: off, always or on_demand for my own calls; analysis needs recording; refused when the company decides for everyone), or set_my_task_availability (takesTasks, takesUrgentTasks and / or my away days tasksAwayFrom / tasksAwayUntil: whether the AI gives me tasks or urgent tasks, e.g. I am on leave next week, or busy and not taking urgent ones now), or set_caller_card_preferences (callerCardPreferences: my own caller-card primary and auto-open; replaces my previous choices, {} goes back to the company settings).","enum":["complete_task","reopen_task","update_task","create_task","set_task_emails","set_click_to_call_method","set_my_call_settings","set_my_task_availability","set_caller_card_preferences"]},"taskId":{"type":"string","description":"complete_task / reopen_task / update_task: the task id from list_mine.","maxLength":50},"dueAt":{"type":"string","description":"update_task: ISO date-time the task is now due (a meeting's new start).","maxLength":40},"note":{"type":"string","description":"update_task or complete_task: a line added to the task notes, e.g. what was sent and to whom. Never replaces the notes.","maxLength":1000},"priority":{"type":"string","description":"update_task: new priority.","enum":["low","medium","high"]},"cancel":{"type":"boolean","description":"update_task: true cancels the task (no longer needed). Use complete_task when it was done."},"cancelledReason":{"type":"string","description":"update_task with cancel: why.","maxLength":500},"task":{"type":"object","description":"create_task: subject (required), kind (todo, call, reminder, meeting, callback), dueAt, body, priority, contactId."},"taskEmails":{"type":"boolean","description":"set_task_emails: true to get task emails, false to stop them."},"recording":{"type":"string","description":"set_my_call_settings: my recording. off, always, or on_demand (recording starts when I dial the resume code). off also turns analysis off.","enum":["off","always","on_demand"]},"analysis":{"type":"string","description":"set_my_call_settings: my analysis after calls. off, always, or on_demand (analysed only when someone asks). Not off turns recording on.","enum":["off","always","on_demand"]},"takesTasks":{"type":"boolean","description":"set_my_task_availability: false = the AI gives me no tasks until I switch it back on (true)."},"takesUrgentTasks":{"type":"boolean","description":"set_my_task_availability: false = no urgent (high-priority) tasks for me for now, e.g. I am busy on something else; true takes them again, and one urgent task waiting for me comes at once, the rest one every 5 minutes."},"tasksAwayFrom":{"type":"string","description":"set_my_task_availability: my first day away (leave, days off), YYYY-MM-DD in the company time zone; null clears it.","maxLength":10},"tasksAwayUntil":{"type":"string","description":"set_my_task_availability: my last day away, inclusive, YYYY-MM-DD; null clears it. While I am away my tasks go to a colleague.","maxLength":10},"clickToCallMethod":{"type":"string","description":"set_click_to_call_method: assistant (an AI agent calls them and puts them through to me), ring_me (my mobile rings, then it dials them), mobile (I dial the bridge number from my mobile), browser (I talk from the Chrome extension with a headset).","enum":["assistant","ring_me","mobile","browser"]},"callerCardPreferences":{"type":"object","description":"set_caller_card_preferences: primaryProvider (a provider from list_mine settings callerCardOptions, e.g. hubspot or custom_link:<id>; used only when it found the caller) and autoOpen { provider: off | on_answer | on_ring }. Anything left out follows the company.","properties":{"primaryProvider":{"type":"string","description":"Card provider to open on and auto-open for me when it matches the caller; unset = company primary","maxLength":80},"autoOpen":{"type":"object","description":"Per card provider: when to open the matched record for me (off / on_answer / on_ring); a missing provider follows the company"}}},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["action"]},"annotations":{"title":"Execute mine","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"execute_user_action","title":"Execute user action","description":"Change actions for team members (inputs: query_user_action without action): disable_user, enable_user, update_user, remove_user, send_password_reset, set_skip_location_verification, set_user_client_companies (reseller: the client companies a team member may enter), and for platform admins disable/enable_user_everywhere, disable/enable_user_in_company, remove_disposable_email_users (delete the accounts on throwaway mail domains with the companies only they used; without confirm it lists them), change_access_level (super admins). remove_user without confirm returns a preview (open tasks, endpoints, phone, email, whether the account is deleted); show it, then call again with confirm: true. Confirm removals and disables with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query_user_action only) to list the actions with their inputs.","minLength":1,"maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Execute user action","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"export_campaign_report","title":"Export campaign report","description":"Generate the client-ready campaign report as an Excel (XLSX) file, in Greek or English, and return a download link valid for 7 days. Sheets: summary, call now, callback calendar, called us back, no answer, not now, exclusions, complaints, all contacts, all calls. Required: campaignId. Optional: format (\"xlsx\"), language (\"el\" default, or \"en\"). Each call creates a new file; older links keep working until they expire.","inputSchema":{"type":"object","properties":{"campaignId":{"type":"string","description":"ID of the campaign","pattern":"^[0-9a-fA-F]{24}$"},"format":{"type":"string","description":"File format. Only \"xlsx\" for now.","enum":["xlsx"],"default":"xlsx"},"language":{"type":"string","description":"Language of every label, sheet name and text: \"el\" (Greek, default) or \"en\" (English).","enum":["el","en"],"default":"el"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["campaignId"]},"annotations":{"title":"Export campaign report","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"export_personal_data","title":"Export personal data","description":"GDPR access request (art. 15/20): collect everything this company holds about one person (contact, calls with transcripts and summaries, SMS, notes, tasks, emails, campaign entries, memories) into one JSON file. Give at least one of contactId, phoneNumber or email; every form of the number is matched. Returns a download link valid 7 days (the file is deleted after that) and counts of what was found. Only data of this company is included.","inputSchema":{"type":"object","properties":{"contactId":{"type":"string","description":"Voice Logica contact id of the person."},"phoneNumber":{"type":"string","description":"Phone number of the person, any format (+30…, 69…, 0030…)."},"email":{"type":"string","description":"Email address of the person."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Export personal data","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"extract_document","title":"Extract document","description":"Extract raw text from one or more documents. Send HTTPS file URLs and/or file blobs (filename + contentBase64, or multipart upload). Returns per-file text plus combinedText. No Distil / no persist — text only. Max 5 files, 15 MiB each. Supports PDF, Word, Excel, images, and plain text.","inputSchema":{"type":"object","properties":{"urls":{"type":"array","description":"HTTPS file URLs (Dropbox temp/shared link, Drive, S3, or any public file URL)","items":{"type":"string","format":"uri"}},"files":{"type":"array","description":"In-memory files as base64 blobs. Use this when you already have the bytes and no download URL.","items":{"type":"object","properties":{"filename":{"type":"string","description":"Original filename including extension (e.g. invoice.pdf)","minLength":1},"contentBase64":{"type":"string","description":"File bytes as base64. A data: URL prefix is allowed.","minLength":1},"mimeType":{"type":"string","description":"Optional MIME type; inferred from the filename when omitted"}},"required":["filename","contentBase64"]}},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Extract document","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"feature_requests_execute","title":"Feature requests execute","description":"Change actions for feature_requests: create_feature_request, vote_feature_request, update_feature_request_status, add_feature_request_message, save_feature_request_plan, mark_feature_request_checked, report_feature_request_build, record_feature_request_ai_cost. Inputs: feature_requests_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Feature requests execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"feature_requests_query","title":"Feature requests query","description":"Feature requests for the Voice Logica platform (Support > Feature requests), which every user sees and votes on: list and search them, read one, file a new one (similar existing ones are returned first, to vote on instead), add or remove a vote; Voice Logica staff also file and vote for a client who asked in a ticket and change the status. A requester and the team write to each other on the request. Staff (the feature-request routine): the requests that need a look, the written plan that goes to Google Chat for approval, the build report (branch, PR), internal notes. Read actions: list_feature_requests, get_feature_request. Changes run with feature_requests_execute, not here. Write actions: create_feature_request, vote_feature_request, update_feature_request_status, add_feature_request_message, save_feature_request_plan, mark_feature_request_checked, report_feature_request_build, record_feature_request_ai_cost. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Feature requests query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_agent","title":"Get agent","description":"Use this to retrieve the configuration of a specific AI agent: main systemPrompt, optional additionalCallSystemPrompt (phone/voice settings — merged with main during calls), analysis settings, call ending rules, and interruption settings (blockInterruptionWhileAiIsGenerating, allowHumanToInterruptAiOnFirstMessage, interruptionType). Also returns dialIn: the exact test-line number + PIN to give the user for hearing the agent by phone.","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","description":"The agent ID. If not provided the default agent will be used"},"companyId":{"type":"string","description":"Target company ID to fetch agents for. Admin/super-admin only. If omitted, uses the current user's company."}}},"annotations":{"title":"Get agent","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_agent_prompt","title":"Get agent prompt","description":"Get the main system prompt (`prompt`) and optional `additionalCallSystemPrompt` from phone settings (both merged during calls). Pass agentVersionId to read a saved version's prompt instead (ids from versions_query, action \"list_agent_versions\"): the text to copy into edit_agent_prompt edits when you edit that version.","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","description":"The agent ID. If not provided, uses the default agent"},"agentVersionId":{"type":"string","description":"A saved version (id from versions_query, action \"list_agent_versions\") to read instead of the live agent: the prompt to copy into edit_agent_prompt edits when you edit that version with agentVersionId.","maxLength":64},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get agent prompt","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_agent_settings","title":"Get agent settings","description":"Read an agent's settings by section: welcome, voice, languages, transfer, end_call, interruption, memory, analysis, notifications, appointments, ai_disclosure (also core-providers mode: no Groq / Gemini, and sensitive-data protection: ΑΜΚΑ/ΑΦΜ/IBAN hidden from the AI, and PIN access on the test line: pinDialEnabled), standby (sleep/wake on calls the agent answers; the wake word on calls between people is in the call settings, callControls), tools, workflows, pronunciation, transcription (speech-to-text keywords: place and product names callers say, so they are heard right). One section (section, as update_agent_settings takes it) or several (sections) in one call. Without either: all of them. format: true also returns the fields each section accepts.","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","description":"Agent id. Omit for the default agent.","maxLength":64},"agentVersionId":{"type":"string","description":"A saved version (list_agent_versions) to read or change instead of the live agent; production is not touched, except that a version whose production window answers the calls (get_agent_settings answeringVersion) is heard right away. The id of the published version means the live agent. Not for widget and ai_disclosure (live only) or pronunciation (company-wide).","maxLength":64},"section":{"type":"string","description":"One section to read, the same field update_agent_settings takes. Use sections for several.","enum":["welcome","voice","languages","transfer","end_call","interruption","memory","analysis","outbound","notifications","appointments","ai_disclosure","standby","tools","workflows","pronunciation","transcription","widget"]},"sections":{"type":"array","description":"Which settings to read; several in one call. Omit both section and sections for all of them.","items":{"type":"string","enum":["welcome","voice","languages","transfer","end_call","interruption","memory","analysis","outbound","notifications","appointments","ai_disclosure","standby","tools","workflows","pronunciation","transcription","widget"]}},"format":{"type":"boolean","description":"true adds, per section, the fields update_agent_settings accepts with their allowed values. Use it before a first update of a section."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get agent settings","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_agents","title":"Get agents","description":"List the company's AI agents, one short row each: id, name, languages, isDefault (the agent used when agentId is omitted), pin (dial-in PIN for the shared test line, when set — get the number from get_my_agent or get_agent dialIn, never guess it) and a promptPreview of the first 200 characters. For the full prompt use get_agent_prompt; for settings get_agent or get_agent_settings. Admins/super-admins can pass companyId to list agents of another company.","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Target company ID to fetch agents for. Admin/super-admin only. If omitted, uses the current user's company."}}},"annotations":{"title":"Get agents","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_ai_platform_keys","title":"Get AI platform keys","description":"Needs the \"Allow SIP Trunking\" plan feature (listed only when the company has it; Voice Logica admins always): the ElevenLabs, Vapi and Retell keys saved for the current company (AI keys page, AI platforms), masked to their last 3 characters, with the region each belongs to. These keys are only for connecting and importing agents; they never pay for the company's own voices.","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get AI platform keys","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_associate","title":"Get associate","description":"Read one associate (the contact record a caller is matched to by phone number) by id or phone number. READ-ONLY: unlike the call path, this never creates a record, so it is safe for diagnosis. Returns name, mainPhoneNumber, contextForAI, dynamicVariables and who created it — \"SYSTEM\" means it was auto-created from an inbound call rather than entered by a person.","inputSchema":{"type":"object","properties":{"associateId":{"type":"string","description":"The associate id. Provide this or phoneNumber."},"phoneNumber":{"type":"string","description":"Look the associate up by phone number instead of id. Matched on the last 10 digits, the same way the call path matches it."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get associate","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_call_follow_up","title":"Get call follow up","description":"Follow-up drafts for a call: send the caller the information given on the call (knowledge answers such as prices and policies), a summary with a hosted page, or an SMS with the FAQs discussed. Returns ready drafts (standard texts with {{pageUrl}} for the page link, and the answers given on the call as stored; reword them if the user asks), the known email addresses and phone numbers (Voice Logica contact, connected CRMs such as HubSpot, the number that called), the FAQs discussed, the SMS sender used by default (smsSender) and the senders the user may pick (smsSenders: the company senders, plus their own mobile once confirmed with the SMS code on their profile). Show the drafts to the user and send only the one they approve with send_call_follow_up.","inputSchema":{"type":"object","properties":{"callId":{"type":"string","description":"The call: its id or callId from get_calls"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["callId"]},"annotations":{"title":"Get call follow up","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_call_result","title":"Get call result","description":"Status, summary and transcript of a test call placed with call_me.","inputSchema":{"type":"object","properties":{"callId":{"type":"string","description":"callId returned by call_me."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["callId"]},"annotations":{"title":"Get call result","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_call_statistics","title":"Get call statistics","description":"Use this to retrieve comprehensive call analytics and statistics for a date range. Returns call counts, average durations, success rates, analysis property distributions, and performance metrics. Totals count calls by when they were created; endedInRangeCount is how many calls actually took place in the range (retries and queued calls included) and waitingCount how many due calls still wait to be dialled. Useful for reporting and analyzing call center performance.","inputSchema":{"type":"object","properties":{"startDate":{"type":"string","description":"ISO 8601 date string","format":"date-time"},"endDate":{"type":"string","description":"ISO 8601 date string","format":"date-time"},"companyId":{"type":"string","description":"Target company ID to fetch statistics for. Admin/super-admin only. If omitted, uses the current user's company."},"agentId":{"type":"string","description":"Filter statistics by a specific agent. If not provided, returns company-wide statistics"},"campaignId":{"type":"string","description":"Filter statistics by a specific campaign. If not provided, returns all calls"},"userId":{"type":"string","description":"Only the calls of this team member (their own phones and the calls they took).","pattern":"^[0-9a-fA-F]{24}$"},"userGroupId":{"type":"string","description":"Only the calls of this user group's members, together (telephony_query list_user_groups).","pattern":"^[0-9a-fA-F]{24}$"},"agentIds":{"type":"array","description":"Several agents at once: the totals cover their calls together and the analysis breakdown comes per agent (postAnalysisResultsByAgent).","items":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"}},"analysisFilters":{"type":"object","description":"Count only calls whose analysis properties have these values, e.g. { happy: true, complaint: false }: the totals and breakdowns then describe just those calls. The calls themselves: get_calls with the same analysisFilters."}}},"annotations":{"title":"Get call statistics","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_caller_card_settings","title":"Get caller card settings","description":"Read the caller card settings (web app: Integrations → Caller card). The caller card is what the person being rung sees about the caller in the web panel, the Windows app and the Chrome extension: one \"Open in …\" button per connected integration that knows the caller, plus the company's custom links. Returns `integrations` (integrationKeyId, provider, label, showCard, autoOpen off|on_answer|on_ring, primary, canOpenRecord), `customLinks` (id, label, urlTemplate, showCard, autoOpen, primary) and the `variables` a custom link URL can use. Only one integration or custom link is primary. These are the company settings; each user can override primary and auto-open for themselves (execute_mine set_caller_card_preferences).","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get caller card settings","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_calls","title":"Get calls","description":"Use this to search and retrieve call records with detailed transcripts and analysis. Filter by date range, duration, status, agent, custom analysis properties, or extension (the team member extension that picked up a transfer or a PBX team call). Provide callId (call record id or telephony SIP callId) to get a specific call, or omit it to search calls. Returns full conversation transcript, summary, and AI-extracted insights; an unmatched callId returns `{found:false, message}` rather than an error. Lists are newest first by start time (startAt), so imported Google Meet recordings appear under the day of the meeting. Use query to find calls by words said or summarized, scope:\"mine\" for your own calls (Meet captures, mobile) across all your companies, and messageOffset/nextMessageOffset to read a long transcript in parts. To keep responses lean, pass the include parameter to fetch only the facets you need (e.g. include:[\"analysis\"] for analysis-only, include:[\"summary\"] for summaries only) instead of the whole transcript. To explain a status or endCallReason (why a call failed and what is missing), call get_guide(\"find_out_why_a_call_failed\") or search_docs(\"call status disconnection reasons\").","inputSchema":{"type":"object","properties":{"callId":{"type":"string","description":"Get a specific call by ID — either the call record id or the telephony (SIP) callId. If provided, returns single call details, or `{found:false, message}` when nothing matches. If not provided, returns list of calls based on filters"},"callIds":{"type":"array","description":"Several call record ids (from a list) read in one call, up to 100: returns them as a list, with the facets in include (e.g. [\"transcript\"]). Use this instead of one get_calls per callId.","items":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"}},"companyId":{"type":"string","description":"Target company ID to fetch calls for. Admin/super-admin only. If omitted, uses the current user's company."},"fromDate":{"type":"string","description":"ISO 8601 date string","format":"date-time"},"toDate":{"type":"string","description":"ISO 8601 date string","format":"date-time"},"query":{"type":"string","description":"Keyword search (at least 3 characters) in the call summary and the transcript. Case-insensitive and ignores Greek accents (\"καλημερα\" finds \"Καλημέρα\"). Searches the given date range, or the last 90 days when fromDate is not given. Combine with the other filters to narrow it.","minLength":3,"maxLength":200},"scope":{"type":"string","description":"\"company\" (default): calls of the current company. \"mine\": only the calls attributed to you (userId = you) across every company you are a member of, e.g. your Google Meet captures and mobile calls, without switching company. With llmInstructionsStatus it also takes the calls on which you wrote the instructions. Each call then carries its companyId.","enum":["company","mine"]},"minDuration":{"type":"number","description":"Minimum call duration in seconds. Only returns calls longer than this duration"},"maxDuration":{"type":"number","description":"Maximum call duration in seconds. Only returns calls shorter than this duration"},"status":{"type":"string","description":"Filter by call status. answered = connected and ended normally; missed = no pickup or no agent on the number; busy = 486/603; failed = never connected (endCallReason says what is missing); failed_during_call = broke after connecting; voice_mail = outbound hit voicemail; answered_elsewhere = another ring-group phone answered","enum":["failed","cancelled","answered_elsewhere","transferring","transferred","failed_during_call","to_be_processed","trying","ringing","busy","missed","in_call","answered","voice_mail","session_progress","scheduled"]},"direction":{"type":"string","description":"Filter by call direction: \"inbound\" or \"outbound\"","enum":["inbound","outbound"]},"phoneNumber":{"type":"string","description":"Filter by customer phone number (exact match)"},"phoneNumbers":{"type":"array","description":"Filter by several customer phone numbers at once (up to 500): calls with any of them. Use this instead of one get_calls per number. Each call carries its phoneNumber; raise limit or page with nextKey for more results.","items":{"type":"string"}},"callerId":{"type":"string","description":"Filter by caller ID / from number (exact match)"},"agentId":{"type":"string","description":"Filter by agent ID. Shows only calls handled by this specific agent"},"campaignId":{"type":"string","description":"Filter by campaign ID (from get_campaigns): only the calls that campaign placed. To check how a campaign's calls went, use this in one call instead of one get_calls per lead's phone number."},"tagIds":{"type":"array","description":"Only calls carrying every one of these call tags (ids from call_tags_query list_call_tags), e.g. the mood tag \"Angry\" and the topic \"VoIP\". Each call returns its tagIds.","items":{"type":"string"}},"llmInstructionsStatus":{"type":"string","description":"Only calls whose after-call instructions for an AI assistant have this status. \"pending\" = instructions nobody acted on yet: carry out each (send the email or SMS asked for, tasks, contact notes, bookings…), then mark it with update_call_llm_instructions (done + result, or dismiss; ask when you need something from the team member first). \"waiting\" = you asked and they have not replied yet: leave those alone. Each call returns llmInstructions; when it has messages, they are the conversation so far (a reply of the team member is the last one).","enum":["pending","waiting","done","dismissed"]},"abTestId":{"type":"string","description":"Voice Logica staff only: only the calls of this A/B test (id from ab_tests_query). Each call returns abTests with the arm it got.","pattern":"^[0-9a-fA-F]{24}$"},"abArm":{"type":"string","description":"Voice Logica staff only, with abTestId: only the calls that got this arm (control or variant), e.g. to count orders per voice with analysisFilters.","enum":["control","variant"]},"userId":{"type":"string","description":"Filter by the company user (member) the call is attributed to. Shows only calls owned by this user, e.g. calls handled via their extension or personal mobile. Use list_company_users to discover user IDs. Note: AI-handled calls are usually not attributed to a user"},"humanInCall":{"type":"boolean","description":"Filter by whether a real person was on the far end. True = humanInCall is true. False = missing or false (SIP answer / voicemail / unknown). Same meaning as the humanInCall field on each result."},"humanJoined":{"type":"boolean","description":"Filter by outboundResult.humanJoined, falling back to humanInCall when the nested flag is unset — same meaning as the humanJoined field on each result."},"humanResponded":{"type":"boolean","description":"Filter by whether the callee actually spoke (not SIP answer, not voicemail). Uses outboundResult.humanResponded, falling back to humanInCall when unset — same meaning as the humanResponded field on each result."},"extension":{"type":"string","description":"Only calls handled by a team member extension: transfers that extension picked up (a ring group/queue dialled, e.g. 600, answered by 148) and PBX team calls recorded on it (Yuboto PBX reporting). Each result carries the extension in \"extension\".","minLength":1,"maxLength":32},"analysisFilters":{"type":"object","description":"Filter calls by the post-call analysis properties stored in postAnalysisResults. Keys are flat property names exactly as defined in the agent's analysis configuration (call get_agent_settings (section \"analysis\") to discover the list per agent). Values: booleans for boolean props (true/false), exact enum strings for enum props, exact strings for string props. Standard cross-agent properties (almost always available): \"call_transferred\" (boolean), \"request_resolved\" (boolean), \"within_hours\" (boolean). Common agent-specific examples: \"transfer_reason\" (enum, e.g. \"explicit_request_for_human\"), \"call_reason\" (enum), \"data_gap_detected\" (boolean). Multiple keys are AND-ed together. Example: { \"call_transferred\": true, \"transfer_reason\": \"explicit_request_for_human\" } — returns transferred calls whose analysis classified the transfer as an explicit human request."},"limit":{"type":"number","description":"Maximum number of calls to return. Defaults to 50, max 10000","default":50,"minimum":1,"maximum":10000},"nextKey":{"type":"string","description":"Cursor for pagination. Pass the nextKey from a previous response to get the next page of results (newest start time first)"},"messageOffset":{"type":"integer","description":"With callId only: index of the first transcript message to return. Long transcripts (e.g. Google Meet recordings) come in pages: pass the nextMessageOffset of the previous response to read on.","minimum":0},"messageLimit":{"type":"integer","description":"With callId only: how many transcript messages to return from messageOffset. Defaults to 300.","minimum":1,"maximum":2000},"include":{"type":"array","description":"Which optional facets to include per call, to keep responses lean. Core metadata (id, status, direction, phone numbers, duration, endCallReason, humanInCall, humanJoined, humanResponded, timestamps, agentId) is always returned. Facets: \"summary\" (AI summary text), \"transcript\" (agent/customer messages), \"aiDialogue\" (the raw AI dialogue: system prompt, assistant messages, tool calls and results, returned instead of the transcript, for debugging how the AI handled a call), \"analysis\" (postAnalysisResults). If omitted, all facets relevant to the tool are returned (backward-compatible). Pass a single facet to fetch just that — e.g. [\"analysis\"] returns only the post-call analysis and omits the heavy transcript. You can still filter by analysisFilters even when \"analysis\" is not included.","items":{"type":"string","enum":["summary","transcript","aiDialogue","analysis"]}}}},"annotations":{"title":"Get calls","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_campaign_results","title":"Get campaign results","description":"Get the results of a campaign: KPIs, how many contacts are in each group (call_now, callback_calendar, called_back, no_answer, not_now, exclusions, pending), and one row per contact with the final outcome, priority (P1–P3), next action, key quote and call history. The final outcome is computed across ALL calls of the contact (outbound and inbound) and corrects the AI verdict (e.g. voicemail menus, greeting-only hang-ups). Campaigns with 2+ voices also get byVoice: the same KPIs per voice, to see which voice performs better. Required: campaignId. Optional: language (\"el\" default, or \"en\") for labels, page, pageSize (max 500). Returns companyId so you can confirm which company it ran against. For a client-ready Excel file use export_campaign_report.","inputSchema":{"type":"object","properties":{"campaignId":{"type":"string","description":"ID of the campaign","pattern":"^[0-9a-fA-F]{24}$"},"language":{"type":"string","description":"Language of every label, sheet name and text: \"el\" (Greek, default) or \"en\" (English).","enum":["el","en"],"default":"el"},"page":{"type":"integer","description":"1-based page of contact rows (default 1)","default":1,"minimum":1},"pageSize":{"type":"integer","description":"Contact rows per page, 1–500 (default 100)","default":100,"minimum":1,"maximum":500},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["campaignId"]},"annotations":{"title":"Get campaign results","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_campaigns","title":"Get campaigns","description":"List outbound campaigns for the current company: id, name, description, status (draft|active|paused|completed), schedule, retries, and concurrent-call limit. Call this before create_campaign: when one already has the same purpose and agent, add the new people to it with leads_execute (action \"create_campaign_leads\") instead of creating another. Use campaigns_query (action \"get_campaign\") for full details, create_campaign only for a genuinely new purpose, and campaigns_execute (action \"test_campaign\") to dial one number without adding a lead.","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get campaigns","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_company_operating_hours","title":"Get company operating hours","description":"Read the business hours that decide whether the company counts as open right now. Returns `source` (\"google\" when hours come from the linked Google Business Profile, \"manual\" when they come from the company profile), the weekly windows, and `openNow`. Open/closed drives which welcome message a caller hears and the \"Company is OPEN/CLOSED\" line in every agent prompt, so check here first when an agent greets callers as open or closed at the wrong time.","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get company operating hours","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_compliance_report","title":"Get compliance report","description":"Monthly Art. 50 AI disclosure report for the current company. Returns total calls, percent with a logged disclosure, breakdown by source and skip reason, and a short exception list. Defaults to the current calendar month. Pass format=csv for a CSV string. For the calls themselves use get_calls; per-call evidence is in each call's logs in the app's Call history (staff: get_call_logs).","inputSchema":{"type":"object","properties":{"from":{"type":"string","description":"ISO 8601 date string","format":"date-time"},"to":{"type":"string","description":"ISO 8601 date string","format":"date-time"},"agentId":{"type":"string","description":"Filter by a specific agent. If omitted, company-wide."},"format":{"type":"string","description":"json (default) or csv","enum":["json","csv"]},"companyId":{"type":"string","description":"Target company ID. Admin/super-admin only. If omitted, uses the current company."}}},"annotations":{"title":"Get compliance report","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_contact_company","title":"Get contact company","description":"One company record: details, pipeline stage with recent stage moves, custom-field values with their definitions, and its contacts. Pass contactCompanyId, or a contactId to open the record that contact belongs to. For its calls, emails and notes use crm_query (action \"get_contact_company_activity\").","inputSchema":{"type":"object","properties":{"contactCompanyId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"contactId":{"type":"string","description":"A contact's id instead of contactCompanyId: opens the company record that contact belongs to.","pattern":"^[0-9a-fA-F]{24}$"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get contact company","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_free_number","title":"Get free number","description":"The company's one free phone number (Greek number, companies in Greece, paid plans). Without confirm it only checks: whether it is available and which agent would answer. Once the user agrees, call again with confirm: true to order it; that returns orderFormUrl, a short form the business owner completes, after which calls to the number reach the agent, plus nextSteps (forwarding the existing number from Cosmote/Vodafone/Nova, and Yuboto credit that transfers need) to walk with the user. Explains instead when it is not available (Demo plan: offer list_plans and upgrade_plan; outside Greece: create_sip_trunk or connect_pbx; already ordered).","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","description":"Agent that answers the number. Defaults to the first agent."},"email":{"type":"string","description":"Business owner's email for the order form. Defaults to the user's email."},"confirm":{"type":"boolean","description":"true places the order (uses up the free number). Omit to only check availability."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get free number","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"get_guide","title":"Get guide","description":"Get the steps for a \"how do I…\" question: how to connect a SIP trunk or PBX, buy a plan, edit an agent, build a workflow, and so on. Pass guide (a key) or question (the user's own words, English or Greek); returns the best match with app links, the tool that does each step from this chat (chatTool), and other close matches. Without arguments: the list of guides (phone line or SIP trunk, office PBX, going live, editing an agent, workflows, transfers, appointments, knowledge, campaigns, team, SMS, website widget, comparison with ElevenLabs, Vapi, Retell and switching over, and more). Use it before search_docs for setup questions.","inputSchema":{"type":"object","properties":{"guide":{"type":"string","description":"Guide key. Omit it and pass question when you only have the user's words.","enum":["connect_telephony","add_team_member","manage_team_member","assistant_cannot_change_something","add_user_sip_extension","set_up_your_phone","create_first_agent","agent_procedures","put_agent_on_a_number","do_not_call_registry","launch_outbound_campaign","place_calls_from_your_system","outbound_call_limits","connect_integration","post_calls_to_slack","sync_integration_contacts","greet_callers_by_name","odoo_click_to_call","connect_mailbox","connect_office_pbx","connect_analog_isdn_pbx","connect_pbx_edge_device","edge_device_usb_stick","pause_edge_device","review_call_quality","find_out_why_a_call_failed","get_notified_about_calls","book_appointments_on_calls","answer_eshop_order_questions","xml_product_feed","transfer_calls_to_a_person","when_nobody_answers","add_knowledge_to_an_agent","send_sms_from_own_mobile","send_sms_during_calls","contact_activity_timeline","put_an_agent_on_the_website","collect_and_call_leads","chat_on_viber","post_to_viber_channel","chat_on_telegram","chat_on_messenger_instagram","automate_after_a_call","go_live","confirm_business_details","free_number_and_forwarding","yuboto_pbx_extension_members","connect_carrier_line_credentials","connect_carrier_trunk","edit_an_agent","manage_voices","build_a_reliable_agent","test_and_evaluate_an_agent","create_a_workflow","shopify_order_events","soft1_custom_service","connect_claude_or_chatgpt","switch_from_another_platform","report_emails","call_tags","manage_minutes_and_billing","choose_a_plan","phone_menu","after_call_ai_instructions","knowledge_assist_on_calls","mobile_only_noema_plan","mobile_company","app_call_company","use_chrome_extension","wake_assistant_during_call","record_calls_and_privacy","answer_personal_data_requests","protect_sensitive_caller_data","how_voice_logica_protects_data","questions_before_buying","delete_your_account","reseller_add_client","reseller_credits_and_billing","reseller_client_stats","reseller_change_client_subscription","reseller_staff_client_access","restore_user_access","connect_ai_platform_sip","admin_business_analytics"]},"question":{"type":"string","description":"The question in the user's own words (English or Greek), e.g. \"how do I edit my agent\", \"Panasonic\", \"αγορά πακέτου\". Used when guide is omitted."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get guide","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_knowledge_file","title":"Get knowledge file","description":"Fetch one knowledge file with its Q&A entries (id, question, answer, altQuestions, timesUsed), 100 entries per call — page with `offset`. Also returns the background processing status: after create_knowledge_file / add_knowledge_entries / add_knowledge_text, embeddings are generated asynchronously, so check the status here (or wait for the email alert).","inputSchema":{"type":"object","properties":{"knowledgeFileId":{"type":"string","description":"Knowledge file id (from list_knowledge_files)."},"offset":{"type":"number","description":"Number of entries to skip (default 0). 100 entries are returned per call."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["knowledgeFileId"]},"annotations":{"title":"Get knowledge file","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_learning_settings","title":"Get learning settings","description":"Read the company's Learning settings (web app: Learning → Settings): captureUnanswered (questions the AI could not answer go to review), captureHumanKnowledge (answers colleagues give after a handoff become Suggested answers), detectConflicts, answerGapsFromHumans, websiteCheckFrequency (default re-read for websites), and auto-add: autoAddHumanAnswers (on/off), autoAddTrustedUserIds (ONLY these colleagues' chat answers can go live without review; empty = none), autoAddThreshold (50–100: how sure routing must be of WHICH knowledge base the answer belongs in — not whether the answer is right; below it the answer waits for review). Also `agents`: per-agent inherit/override rows. Resolve user ids with query_user_action (action \"list_users\").","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get learning settings","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_managed_agent_sessions","title":"Get managed agent sessions","description":"Fetch the managed-agent (AI orchestration) session results for one or more calls by their MongoDB call ID. Returns, per session, the ordered tool calls the agent made paired with their results, the final answer, status, cost, error, and iteration count — including any sub-agent worker sessions. Use this to inspect what a managed-agent node actually did on a call (e.g. which item/mtrl it committed on an order), especially when comparing multiple test-call runs. The raw LLM transcript is distilled by default; set includeMessages=true for the full messages of a single deep-dive.","inputSchema":{"type":"object","properties":{"callId":{"type":"string","description":"MongoDB call ID (from get_calls) to fetch managed-agent sessions for. Provide this or callIds."},"callIds":{"type":"array","description":"Multiple MongoDB call IDs to fetch in one go (handy for comparing test runs). Provide this or callId."},"includeMessages":{"type":"boolean","description":"When true, also returns the full raw LLM conversation per session. Default false — leave off unless deep-diving a single call, as transcripts are large."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get managed agent sessions","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_mcp_settings","title":"Get MCP settings","description":"Get the current default MCP settings for the company: the default SIP trunk, agent, SMS sender and Google Calendar ID (plus the legacy default VoIP phone, if any), each by id and name. Full details: get_sip_trunks, get_agent, messages_query (action \"list_sms_senders\").","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get MCP settings","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_my_agent","title":"Get my agent","description":"Show the user's AI phone agent (name, language, welcome message), whether it is still being built, whether it learned the business from the website, and the ways to hear it: the company's own lines that ring it (ownLines: an office PBX extension or a number; suggest these first), test_in_browser, dialing the shared test line with the agent's PIN, or call_me. Start here right after the user connects Voice Logica for the first time, and call it with agentId after building or changing any agent to give the user its test number and PIN.","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","description":"Optional: the agent to test (from get_agents). Omit for the default agent."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get my agent","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_sip_trunks","title":"Get SIP trunks","description":"List the company SIP trunks — the primary way lines connect to the platform (carrier trunks, customer PBX trunks, Microsoft Teams Direct Routing). Omit sipTrunkId for a compact list (id, name, provider, role, host, registration and enabled state, default number, maxChannels, whether it is the MCP default); pass sipTrunkId for the full configuration of one trunk (credentials are never returned). Use the ids with initiate_call, create_campaign / update_campaign (sipTrunkIds), update_sip_trunk, pbx_query (action \"get_trunk_sip_logs\") and update_mcp_settings (sipTrunkId default). Prefer SIP trunks over the legacy VoIP phone tools. maxChannels = concurrent calls on the trunk, inbound + outbound together; null = unlimited. At the cap inbound calls get 486 Busy and campaigns wait for a free channel (no lead attempt).","inputSchema":{"type":"object","properties":{"sipTrunkId":{"type":"string","description":"Optional. MongoDB ID of one SIP trunk to return in full. Omit to list all trunks of the company."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get SIP trunks","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_user_extensions","title":"Get user extensions","description":"List a user's enabled extensions grouped by company, and their default extension (defaultUserEndpointId). Calls from the Windows app and the Chrome extension go out from the default extension's company (its trunk and caller ID); incoming calls ring on every extension listed. Allowed for the user themselves, or an admin who manages every company the user belongs to. Omit userId for yourself.","inputSchema":{"type":"object","properties":{"userId":{"type":"string","description":"The user id (omit for yourself)"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get user extensions","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_user_phone_setup","title":"Get user phone setup","description":"Everything a user needs to start calling: which devices are enabled (sip / windowsApp / mobile), onlineDevices — what is signed in right now (chrome_extension, windows_app, mobile_app, desk_phone, with the client name; empty = no device can take their calls), their internal extension, SIP credentials (server, ports, username, and the password for the user themself or a company admin), the Windows app download link, the iOS App Store link, and callFrom — the lines they can call from in the Windows and iOS/Android apps: trunks and numbers are company lines (the other person sees that number instead of their personal mobile), ownMobile is their own mobile number on the Voice Logica mobile line. These are for the user's own app calls only: campaigns and initiate_call take SIP trunk ids from get_sip_trunks. A device that is not enabled carries a note on how to enable it (team_execute (action \"set_user_seat\")). Omit userId for the current user.","inputSchema":{"type":"object","properties":{"userId":{"type":"string","description":"Company user id. Omit for the current user."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get user phone setup","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_workflow","title":"Get workflow","description":"Get full details of a workflow by ID, including all nodes, triggers, connections, and transitions. Use this to inspect the current state of a workflow before making changes.","inputSchema":{"type":"object","properties":{"workflowId":{"type":"string","description":"The ID of the workflow to retrieve"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["workflowId"]},"annotations":{"title":"Get workflow","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_workflow_format","title":"Get workflow format","description":"The settings each workflow node type and trigger type takes, with the rules that matter (how a during-call workflow answers the caller, placeholders like {{call.phone_number}}). Without arguments: the list of types.","inputSchema":{"type":"object","properties":{"nodeTypes":{"type":"array","description":"Node types to describe, e.g. [\"apiCall\",\"aiResponse\"]. Omit both lists to get the list of types.","items":{"type":"string"}},"triggerTypes":{"type":"array","description":"Trigger types to describe, e.g. [\"duringCall\"].","items":{"type":"string"}},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get workflow format","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_workflows","title":"Get workflows","description":"List all workflows accessible to the user (own, reseller, and global workflows): id, name, visibility, trigger types, node count, and for workflows with an onAPICall trigger the payload schema run_workflow expects (apiTriggers). Filter with triggerType, e.g. \"onAPICall\" for the workflows run_workflow can start.","inputSchema":{"type":"object","properties":{"triggerType":{"type":"string","description":"Optional trigger type filter (e.g. onAPICall, onCallEnd, onCallStart). If omitted, returns all workflows."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get workflows","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"get_yuboto_extension_members","title":"Get yuboto extension members","description":"List which team member uses which Yuboto PBX extension (web app: Integrations → Yuboto PBX → Show details → Extensions). Calls recorded from the Yuboto PBX are given to the member of the extension that answered (inbound) or dialled (outbound): their name on the call, their \"my calls\" and their stats. Returns rows { extension, userId, name, email }. Needs Yuboto PBX connected.","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Get yuboto extension members","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"import_ai_platform_agent","title":"Import AI platform agent","description":"Needs the \"Allow SIP Trunking\" plan feature (listed only when the company has it; Voice Logica admins always): copy an ElevenLabs, Vapi or Retell agent into a Voice Logica agent so the customer can try both side by side. Importing the same agent again updates the agent made the first time (no copy) and publishes it as a new version; tools already there are kept, documents are replaced, links already there are kept. Brings over the name, system prompt, first message, language, the knowledge (documents as text, URLs as links; added in the background, one by one) and the settings: the voice (the same ElevenLabs voice when usable, else one for the language), the model (the same, else the closest we run; plan limits apply), phone transfers, webhook tools (one workflow each; secret headers must be re-entered) and the maximum call length. Uses the key saved on the AI keys page. Returns the agentId, updated (true when it synced an earlier import), one row per copied setting (copied / adjusted / skipped, with why), one row per knowledge item, and notes.","inputSchema":{"type":"object","properties":{"provider":{"type":"string","description":"The AI platform: elevenlabs, vapi or retell. Its key must be saved on the AI keys page.","enum":["elevenlabs","vapi","retell"]},"agentId":{"type":"string","description":"The agent to import, from list_ai_platform_agents.","minLength":1,"maxLength":200},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["provider","agentId"]},"annotations":{"title":"Import AI platform agent","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"initiate_bulk_calls","title":"Initiate bulk calls","description":"Initiate multiple outbound AI phone calls at once. Accepts an array of call requests (1–50), each with a phone number and optional agent, SIP trunk (sipTrunkId from get_sip_trunks, same defaults as initiate_call), context, and retry settings. Every call is scheduled at least one minute out. Returns per-call results indicating success or failure. Use this instead of calling initiate_call repeatedly when you need to call multiple numbers.","inputSchema":{"type":"object","properties":{"calls":{"type":"array","description":"Array of calls to initiate (1–50). Each entry follows the same schema as initiate_call.","items":{"type":"object","properties":{"phoneNumber":{"type":"string","description":"Destination phone number to call. Should be provided without country code unless the user explicitly provides one. If a country code prefix (+30, +1, etc.) is included, it will be used as given. Examples: \"6912345678\" (preferred), \"+306912345678\" (if user provides country code)"},"agentId":{"type":"string","description":"Agent ID to handle the call. If not provided, uses the company's default agent"},"voipPhoneId":{"type":"string","description":"LEGACY VoIP phone ID — only when the user explicitly names a legacy VoIP phone. Ignored when sipTrunkId is set."},"sipTrunkId":{"type":"string","description":"SIP trunk to dial out from (get_sip_trunks). If omitted: the default SIP trunk from MCP settings, then the company outbound routes."},"callerId":{"type":"string","description":"The phone number or SIP URI shown to the recipient as the caller. Overrides the default caller ID of the VoIP phone. Use a full E.164 phone number (e.g. \"+302101234567\") or a SIP identity (e.g. \"sip:user@domain.com\"). If omitted, the VoIP phone's own caller ID is used."},"contextForAi":{"type":"string","description":"Additional context information for the AI agent (max 12000 characters). This text will be appended to the agent's system prompt for this specific call. Typically contains information about the customer, their situation, history, preferences, or any relevant details that will help the AI agent personalize the conversation. Example: \"Customer John Doe has an outstanding invoice of $500 from last month.\"","maxLength":12000},"dynamicVariables":{"type":"object","description":"Key-value pairs accessible to the AI agent during the call as template variables. Use these for structured data the agent can reference by name (e.g. customer name, order ID, appointment time). Unlike contextForAi which is free-text appended to the prompt, dynamic variables are discrete named values. Example: { \"customer_name\": \"John Doe\", \"order_id\": \"ORD-123\", \"appointment_date\": \"March 20, 2026\" }"},"welcomeMessage":{"type":"string","description":"The opening the agent says on this call only, word for word, instead of its own welcome message. The agent itself is not changed. Use it when the call has its own reason to open with (an alert, a reminder, who is calling and why). Dynamic variables such as {{greeting}} and the ones passed in dynamicVariables are filled in. If the agent is set to let the other person speak first on outgoing calls, it is said right after they answer. Used only when dynamicWelcomeMessage is not true. The call is billed with a 10-second minimum, even if unanswered. Example: \"Γεια σας, σας καλώ από το ιατρείο για το ραντεβού της Τρίτης.\"","minLength":1,"maxLength":1000},"dynamicWelcomeMessage":{"type":"boolean","description":"When true, the AI writes the opening of this call from the agent prompt, contextForAi and welcomeInstructions instead of the agent's fixed welcome. The call is billed with a 10-second minimum, even if unanswered. Omit or false: the agent's own welcome, or welcomeMessage when given."},"welcomeInstructions":{"type":"string","description":"Instructions the AI follows when it writes the opening of this call. Used only when dynamicWelcomeMessage is true. Variables such as {{greeting}} and the ones passed in dynamicVariables are filled in.","maxLength":8000},"scheduledAt":{"type":"string","description":"Schedule the call for a future date/time instead of calling immediately. Provide an ISO 8601 date-time string (e.g. \"2026-03-16T14:00:00Z\"). Useful for appointment reminders, follow-ups, or respecting preferred contact times."},"maxRetries":{"type":"number","description":"Total calls to this number, the first one included (0-3, default 2). 2 = the first call plus 1 retry; 0 or 1 = no retry. A retry is placed 10 minutes after a busy line, no answer, voicemail or a failed call. A callback the recipient asks for during the call is scheduled anyway, and is not a retry.","default":2,"minimum":0,"maximum":3},"overrideTimeRestriction":{"type":"boolean","description":"Whether to override time restrictions. Time restrictions block calls between 21:00-09:00 local time in the destination country. Set to true to bypass these restrictions and call at any time."}},"required":["phoneNumber"]}},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["calls"]},"annotations":{"title":"Initiate bulk calls","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"initiate_call","title":"Initiate call","description":"Use this to make an outbound phone call to a customer with an AI agent. Dials out through a SIP trunk: pass sipTrunkId (from get_sip_trunks), or omit it to use the default SIP trunk from MCP settings, then the company outbound routes. The agent defaults to the MCP-settings agent. voipPhoneId is legacy. Failed calls automatically retry after 10 minutes. Use contextForAi parameter to provide customer-specific information to personalize the conversation.","inputSchema":{"type":"object","properties":{"phoneNumber":{"type":"string","description":"Destination phone number to call. Should be provided without country code unless the user explicitly provides one. If a country code prefix (+30, +1, etc.) is included, it will be used as given. Examples: \"6912345678\" (preferred), \"+306912345678\" (if user provides country code)"},"agentId":{"type":"string","description":"Agent ID to handle the call. If not provided, uses the company's default agent"},"voipPhoneId":{"type":"string","description":"LEGACY VoIP phone ID — only when the user explicitly names a legacy VoIP phone. Ignored when sipTrunkId is set."},"sipTrunkId":{"type":"string","description":"SIP trunk to dial out from (get_sip_trunks). If omitted: the default SIP trunk from MCP settings, then the company outbound routes."},"callerId":{"type":"string","description":"The phone number or SIP URI shown to the recipient as the caller. Overrides the default caller ID of the VoIP phone. Use a full E.164 phone number (e.g. \"+302101234567\") or a SIP identity (e.g. \"sip:user@domain.com\"). If omitted, the VoIP phone's own caller ID is used."},"contextForAi":{"type":"string","description":"Additional context information for the AI agent (max 12000 characters). This text will be appended to the agent's system prompt for this specific call. Typically contains information about the customer, their situation, history, preferences, or any relevant details that will help the AI agent personalize the conversation. Example: \"Customer John Doe has an outstanding invoice of $500 from last month.\"","maxLength":12000},"dynamicVariables":{"type":"object","description":"Key-value pairs accessible to the AI agent during the call as template variables. Use these for structured data the agent can reference by name (e.g. customer name, order ID, appointment time). Unlike contextForAi which is free-text appended to the prompt, dynamic variables are discrete named values. Example: { \"customer_name\": \"John Doe\", \"order_id\": \"ORD-123\", \"appointment_date\": \"March 20, 2026\" }"},"welcomeMessage":{"type":"string","description":"The opening the agent says on this call only, word for word, instead of its own welcome message. The agent itself is not changed. Use it when the call has its own reason to open with (an alert, a reminder, who is calling and why). Dynamic variables such as {{greeting}} and the ones passed in dynamicVariables are filled in. If the agent is set to let the other person speak first on outgoing calls, it is said right after they answer. Used only when dynamicWelcomeMessage is not true. The call is billed with a 10-second minimum, even if unanswered. Example: \"Γεια σας, σας καλώ από το ιατρείο για το ραντεβού της Τρίτης.\"","minLength":1,"maxLength":1000},"dynamicWelcomeMessage":{"type":"boolean","description":"When true, the AI writes the opening of this call from the agent prompt, contextForAi and welcomeInstructions instead of the agent's fixed welcome. The call is billed with a 10-second minimum, even if unanswered. Omit or false: the agent's own welcome, or welcomeMessage when given."},"welcomeInstructions":{"type":"string","description":"Instructions the AI follows when it writes the opening of this call. Used only when dynamicWelcomeMessage is true. Variables such as {{greeting}} and the ones passed in dynamicVariables are filled in.","maxLength":8000},"scheduledAt":{"type":"string","description":"Schedule the call for a future date/time instead of calling immediately. Provide an ISO 8601 date-time string (e.g. \"2026-03-16T14:00:00Z\"). Useful for appointment reminders, follow-ups, or respecting preferred contact times."},"maxRetries":{"type":"number","description":"Total calls to this number, the first one included (0-3, default 2). 2 = the first call plus 1 retry; 0 or 1 = no retry. A retry is placed 10 minutes after a busy line, no answer, voicemail or a failed call. A callback the recipient asks for during the call is scheduled anyway, and is not a retry.","default":2,"minimum":0,"maximum":3},"overrideTimeRestriction":{"type":"boolean","description":"Whether to override time restrictions. Time restrictions block calls between 21:00-09:00 local time in the destination country. Set to true to bypass these restrictions and call at any time."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["phoneNumber"]},"annotations":{"title":"Initiate call","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"integration_execute","title":"Integration execute","description":"Run a WRITE action of a connected integration (create_* / update_* / delete_* / send_* / add_* / move_* / assign_* …), or action \"connect\" to connect it. Same envelope and same decline/validation behavior as integration_query. Read-only actions are rejected — use integration_query for those (it needs no write permission).","inputSchema":{"type":"object","properties":{"integration":{"type":"string","description":"The integration to act on (see list_integrations for connection status).","enum":["google_meet","trello","clickup","helpdesk","viva","outlook","teams","courier","woocommerce","opencart","custom_api","exelixis_smart","prestashop","shopify","magento","megasoft","gonnaorder","webhotelier","hosthub","tiktok_leads","google_ads_leads","meta_leads","webhook_leads","linkedin_leads","jira","guesty","hubspot","zoho","salesforce","gohighlevel","galaxy_drugstore","galaxy_erp","soft1","pylon","sap","splynx","odoo","entersoft","gtfs","sheets","gdoc","drive"]},"action":{"type":"string","description":"The action to run — an action name from describe_integration, or \"connect\" to connect/check the integration."},"data":{"type":"object","description":"Arguments of the action, matching the inputSchema returned by describe_integration for that action. Omit when the action takes no arguments."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["integration","action"]},"annotations":{"title":"Integration execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"integration_query","title":"Integration query","description":"Run a READ-ONLY action of a connected integration (list_* / get_* / search_* / find_* / lookup_* / check_*). Pass the integration, the action name, and the action arguments in data. If the integration is not connected the call is declined with connection instructions; if data does not match the action schema, the schema is returned so the call can be corrected. Write actions are rejected — use integration_execute for those.","inputSchema":{"type":"object","properties":{"integration":{"type":"string","description":"The integration to act on (see list_integrations for connection status).","enum":["google_meet","trello","clickup","helpdesk","viva","outlook","teams","courier","woocommerce","opencart","custom_api","exelixis_smart","prestashop","shopify","magento","megasoft","gonnaorder","webhotelier","hosthub","tiktok_leads","google_ads_leads","meta_leads","webhook_leads","linkedin_leads","jira","guesty","hubspot","zoho","salesforce","gohighlevel","galaxy_drugstore","galaxy_erp","soft1","pylon","sap","splynx","odoo","entersoft","gtfs","sheets","gdoc","drive"]},"action":{"type":"string","description":"The action to run — an action name from describe_integration, or \"connect\" to connect/check the integration."},"data":{"type":"object","description":"Arguments of the action, matching the inputSchema returned by describe_integration for that action. Omit when the action takes no arguments."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["integration","action"]},"annotations":{"title":"Integration query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"knowledge_execute","title":"Knowledge execute","description":"Change actions for knowledge: answer_unanswered_question, update_knowledge_file, delete_knowledge_file, update_knowledge_link, delete_knowledge_link, resync_knowledge_link, assign_knowledge_file_to_agent, unassign_knowledge_file_from_agent, update_knowledge_entry, remove_knowledge_entries, set_agent_learning_rule, link_knowledge_drive_folder, sync_knowledge_drive_folder, disconnect_knowledge_drive_folder. Inputs: knowledge_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Knowledge execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"knowledge_query","title":"Knowledge query","description":"Knowledge housekeeping (adding and searching knowledge stay their own tools): list links, check knowledge health, preview a page before adding it, list the caller questions the agent could not answer and answer them, edit or delete files, links and entries, re-read a link, attach or detach a file to an agent; Learning counts and routing score, one agent's own Learning rule, and a base's Google Drive folder (link, sync, disconnect). Read actions: list_knowledge_links, audit_knowledge_health, preview_page_ingest, list_unanswered_questions, get_learning_counts, get_learning_routing_score. Changes run with knowledge_execute, not here. Write actions: answer_unanswered_question, update_knowledge_file, delete_knowledge_file, update_knowledge_link, delete_knowledge_link, resync_knowledge_link, assign_knowledge_file_to_agent, unassign_knowledge_file_from_agent, update_knowledge_entry, remove_knowledge_entries, set_agent_learning_rule, link_knowledge_drive_folder, sync_knowledge_drive_folder, disconnect_knowledge_drive_folder. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Knowledge query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"lead_forms_create_form","title":"Lead forms create form","description":"Build a hosted form. Returns a public link to share and a one-line snippet the operator pastes into their website. The form must include a phone or email field — without one there is no way to contact whoever fills it in, which is the point of the form. With sourceType own (their existing site form posts to the returned urlForTheirOwnForm) fields can be omitted.","inputSchema":{"type":"object","properties":{"name":{"type":"string","description":"What the operator calls this form internally, e.g. \"Solar enquiry\"."},"title":{"type":"string","description":"Heading shown on the form itself. Defaults to the name."},"description":{"type":"string","description":"A sentence under the heading explaining what happens next."},"fields":{"type":"array","description":"The questions on the form, in the order they appear. Replaces the whole list on update. Keep it short — every extra field loses submissions.","items":{"type":"object","properties":{"key":{"type":"string","description":"Stable machine name: lowercase letters, numbers and underscores. This is what the agent reads out and what a workflow refers to, so use something meaningful like phone or preferred_date."},"label":{"type":"string","description":"What the visitor sees above the input, in the operator's own language."},"type":{"type":"string","description":"Use phone and email for the contact details rather than text — that is how the callback knows which answer to dial. select needs options.","enum":["text","textarea","number","email","phone","select","checkbox","date"]},"required":{"type":"boolean","description":"The form refuses to submit without it. Default false."},"placeholder":{"type":"string","description":"Greyed-out example inside the input."},"help":{"type":"string","description":"A line under the input, for explaining why you are asking."},"options":{"type":"array","description":"select only: the choices offered.","items":{"type":"string"}},"maxLength":{"type":"number","description":"Refuse an answer longer than this."}},"required":["key","label","type"]}},"submitLabel":{"type":"string","description":"Text on the button. Defaults to Send."},"successMessage":{"type":"string","description":"Shown after a successful submission."},"redirectUrl":{"type":"string","description":"Send the visitor here instead of showing the success message."},"accent":{"type":"string","description":"Brand colour for the button, as a hex value like #10b981."},"active":{"type":"boolean","description":"An inactive form politely refuses submissions. Default true."},"call":{"type":"boolean","description":"Phone each new lead within seconds. Weekends included (the 09:00-21:00 window still applies); the opening line is generated from the prompt and what they filled in. Needs an agent."},"agentId":{"type":"string","description":"Agent that calls the lead (from list_agents). Empty uses the company's default agent."},"prompt":{"type":"string","description":"What the agent should do on the callback. It is already told what the person filled in and where the form ran, so cover behaviour, not facts."},"callerId":{"type":"string","description":"Number the lead sees. Leave empty for the default line's own number, which is almost always right."},"callOutsideHours":{"type":"boolean","description":"Place the FIRST call to a new lead at once even outside 09:00-21:00 (off by default). Retries, redials and callbacks still wait for 09:00-21:00. Turning it on needs callOutsideHoursConfirmed: true; ask the user to confirm first that their company is responsible for calls outside these hours."},"callOutsideHoursConfirmed":{"type":"boolean","description":"Send true together with callOutsideHours: true, only after the user confirmed they accept responsibility for calls outside 09:00-21:00."},"sourceType":{"type":"string","description":"hosted = our form (link + embed snippet). own = their existing site form (Elementor, WPForms, Typeform, Zapier…) posts to the urlForTheirOwnForm of the form; fields are then not needed.","enum":["hosted","own"]},"fieldMap":{"type":"object","description":"Own form only: which posted key holds the phone, name and email when detection gets it wrong (keys from lead_forms_list_received_fields). Empty string clears one; unset keys fall back to the company-wide setting, then detection.","properties":{"phoneField":{"type":"string"},"nameField":{"type":"string"},"emailField":{"type":"string"}}},"testMode":{"type":"boolean","description":"true = for the next 15 minutes submissions are stored and marked test, never called, and only reach workflows whose trigger includes test submissions. false switches it off."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["name"]},"annotations":{"title":"Lead forms create form","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"lead_forms_create_workflow","title":"Lead forms create workflow","description":"Create the New lead workflow for one form: an onLeadReceived trigger filtered to that form, ready for steps (send an email or SMS, update a CRM, call). A form can have only one such workflow, and a workflow with no form filter covers every form; if the form already has one this is refused with its name, so edit that workflow instead (get_workflow / edit_workflow). Returns workflowId.","inputSchema":{"type":"object","properties":{"formId":{"type":"string","description":"The form to create the workflow for (id from lead_forms_list_forms)."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["formId"]},"annotations":{"title":"Lead forms create workflow","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"lead_forms_delete_form","title":"Lead forms delete form","description":"Delete a form. Confirm with the user first: it stops working immediately wherever it is embedded, and the leads it already produced stay but lose the form they came from.","inputSchema":{"type":"object","properties":{"formId":{"type":"string","description":"The form to delete (id from lead_forms_list_forms)."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["formId"]},"annotations":{"title":"Lead forms delete form","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"lead_forms_get_form","title":"Lead forms get form","description":"One form in full: every field, its call settings (call on/off, agent, instructions), every channel with its status, and what its leads are actually handled under.","inputSchema":{"type":"object","properties":{"formId":{"type":"string","description":"The form to read (id from lead_forms_list_forms)."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["formId"]},"annotations":{"title":"Lead forms get form","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"lead_forms_link_channel","title":"Lead forms link channel","description":"Link an existing ad-platform form to one of our forms, so its leads are handled by that form (agent, instructions, call on/off). Omit externalFormId to take every form of that platform that no other form claims. A platform form belongs to one of our forms at a time: linking moves it. Linking again updates the link (name, status). The platform must be connected first.","inputSchema":{"type":"object","properties":{"formId":{"type":"string","description":"Our form (id from lead_forms_list_forms)."},"platform":{"type":"string","description":"meta = Facebook and Instagram lead ads.","enum":["meta","google_ads","linkedin","tiktok"]},"externalFormId":{"type":"string","description":"The platform's form id. Omit to take every form of the platform that no other form claims."},"externalFormName":{"type":"string","description":"The platform form's name, shown on the channel."},"accountId":{"type":"string","description":"Page, ad account or advertiser the form lives under."},"status":{"type":"string","description":"archived keeps the link but routes nothing. Default live.","enum":["live","archived"]},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["formId","platform"]},"annotations":{"title":"Lead forms link channel","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"lead_forms_list_forms","title":"Lead forms list forms","description":"The company's lead forms: name, whether it calls new leads and with which agent, the channels it is published on (its own link and embed snippet, plus any Facebook / Google / LinkedIn / TikTok form linked to it), whether it is the default form, and how many submissions arrived. The default form handles every lead that no other form claims.","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Lead forms list forms","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"lead_forms_list_leads","title":"Lead forms list leads","description":"Submissions that came through the hosted forms (or, with formId, every lead one form received on any channel), newest first: name, phone, email, which form, every answer they filled in, whether the agent called them, and for a form fed by their own site form the raw JSON it posted.","inputSchema":{"type":"object","properties":{"limit":{"type":"number","description":"How many leads to return, newest first (default 20, max 100)."},"formId":{"type":"string","description":"A form's id: that form's leads from every channel (website, Facebook, Google, LinkedIn, TikTok) instead of hosted-form submissions only."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Lead forms list leads","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"lead_forms_list_platform_forms","title":"Lead forms list platform forms","description":"Forms that already exist on a connected ad platform, for linking one to a form here, with which of our forms already handles each. Facebook and TikTok list them once connected; Google Ads lists its lead forms once the user signed in with Google and picked an ad account (until then listable is false). For LinkedIn listable is always false: the user copies the form id from the platform. A new TikTok form is built in the TikTok editor from the Channels tab of the form in the app, not through a tool.","inputSchema":{"type":"object","properties":{"platform":{"type":"string","description":"meta = Facebook and Instagram lead ads.","enum":["meta","google_ads","linkedin","tiktok"]},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["platform"]},"annotations":{"title":"Lead forms list platform forms","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"lead_forms_list_received_fields","title":"Lead forms list received fields","description":"For a form fed by the customer's OWN site form: every key their form posted in recent submissions, an example value, and whether it was taken as name, phone, email or other (and whether by an override or detection). Use it to fix a mapping with lead_forms_update_form fieldMap.","inputSchema":{"type":"object","properties":{"formId":{"type":"string","description":"The form to inspect (id from lead_forms_list_forms)."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["formId"]},"annotations":{"title":"Lead forms list received fields","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"lead_forms_unlink_channel","title":"Lead forms unlink channel","description":"Remove a platform form from one of our forms. Its leads then go to the default form.","inputSchema":{"type":"object","properties":{"formId":{"type":"string","description":"Our form (id from lead_forms_list_forms)."},"platform":{"type":"string","description":"meta = Facebook and Instagram lead ads.","enum":["meta","google_ads","linkedin","tiktok"]},"externalFormId":{"type":"string","description":"The platform's form id. Omit to take every form of the platform that no other form claims."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["formId","platform"]},"annotations":{"title":"Lead forms unlink channel","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"lead_forms_update_form","title":"Lead forms update form","description":"Change a form: its fields, wording, colour, whether it is accepting submissions, and what happens to its leads (call, agentId, prompt). Passing fields REPLACES the whole list, so send every field that should remain. The public link never changes, so a form already embedded on a site keeps working.","inputSchema":{"type":"object","properties":{"formId":{"type":"string","description":"The form to change (id from lead_forms_list_forms)."},"name":{"type":"string","description":"What the operator calls this form internally, e.g. \"Solar enquiry\"."},"title":{"type":"string","description":"Heading shown on the form itself. Defaults to the name."},"description":{"type":"string","description":"A sentence under the heading explaining what happens next."},"fields":{"type":"array","description":"The questions on the form, in the order they appear. Replaces the whole list on update. Keep it short — every extra field loses submissions.","items":{"type":"object","properties":{"key":{"type":"string","description":"Stable machine name: lowercase letters, numbers and underscores. This is what the agent reads out and what a workflow refers to, so use something meaningful like phone or preferred_date."},"label":{"type":"string","description":"What the visitor sees above the input, in the operator's own language."},"type":{"type":"string","description":"Use phone and email for the contact details rather than text — that is how the callback knows which answer to dial. select needs options.","enum":["text","textarea","number","email","phone","select","checkbox","date"]},"required":{"type":"boolean","description":"The form refuses to submit without it. Default false."},"placeholder":{"type":"string","description":"Greyed-out example inside the input."},"help":{"type":"string","description":"A line under the input, for explaining why you are asking."},"options":{"type":"array","description":"select only: the choices offered.","items":{"type":"string"}},"maxLength":{"type":"number","description":"Refuse an answer longer than this."}},"required":["key","label","type"]}},"submitLabel":{"type":"string","description":"Text on the button. Defaults to Send."},"successMessage":{"type":"string","description":"Shown after a successful submission."},"redirectUrl":{"type":"string","description":"Send the visitor here instead of showing the success message."},"accent":{"type":"string","description":"Brand colour for the button, as a hex value like #10b981."},"active":{"type":"boolean","description":"An inactive form politely refuses submissions. Default true."},"call":{"type":"boolean","description":"Phone each new lead within seconds. Weekends included (the 09:00-21:00 window still applies); the opening line is generated from the prompt and what they filled in. Needs an agent."},"agentId":{"type":"string","description":"Agent that calls the lead (from list_agents). Empty uses the company's default agent."},"prompt":{"type":"string","description":"What the agent should do on the callback. It is already told what the person filled in and where the form ran, so cover behaviour, not facts."},"callerId":{"type":"string","description":"Number the lead sees. Leave empty for the default line's own number, which is almost always right."},"callOutsideHours":{"type":"boolean","description":"Place the FIRST call to a new lead at once even outside 09:00-21:00 (off by default). Retries, redials and callbacks still wait for 09:00-21:00. Turning it on needs callOutsideHoursConfirmed: true; ask the user to confirm first that their company is responsible for calls outside these hours."},"callOutsideHoursConfirmed":{"type":"boolean","description":"Send true together with callOutsideHours: true, only after the user confirmed they accept responsibility for calls outside 09:00-21:00."},"sourceType":{"type":"string","description":"hosted = our form (link + embed snippet). own = their existing site form (Elementor, WPForms, Typeform, Zapier…) posts to the urlForTheirOwnForm of the form; fields are then not needed.","enum":["hosted","own"]},"fieldMap":{"type":"object","description":"Own form only: which posted key holds the phone, name and email when detection gets it wrong (keys from lead_forms_list_received_fields). Empty string clears one; unset keys fall back to the company-wide setting, then detection.","properties":{"phoneField":{"type":"string"},"nameField":{"type":"string"},"emailField":{"type":"string"}}},"testMode":{"type":"boolean","description":"true = for the next 15 minutes submissions are stored and marked test, never called, and only reach workflows whose trigger includes test submissions. false switches it off."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["formId"]},"annotations":{"title":"Lead forms update form","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"leads_execute","title":"Leads execute","description":"Change actions for leads: create_campaign_leads, import_campaign_leads, update_campaign_lead, update_campaign_leads, delete_campaign_lead, reset_lead_follow_up_count, cancel_scheduled_calls, redial_campaign_call. Inputs: leads_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Leads execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"leads_query","title":"Leads query","description":"Campaign leads and scheduled calls: add leads (a list, or import an .xlsx/.xls/.csv file), list a campaign's leads, find a lead by phone, read or change one lead or set the same values on many, see everything done for one lead (calls, redials, call-backs, SMS, tasks, status changes), reset its follow-ups, lead statistics, list or cancel scheduled calls, redial a dropped campaign call to the same operator with the number hidden. Read actions: get_campaign_leads, get_campaign_lead, get_campaign_lead_activity, find_lead_by_phone, get_campaign_lead_statistics, get_scheduled_calls. Changes run with leads_execute, not here. Write actions: create_campaign_leads, import_campaign_leads, update_campaign_lead, update_campaign_leads, delete_campaign_lead, reset_lead_follow_up_count, cancel_scheduled_calls, redial_campaign_call. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Leads query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_ai_platform_agents","title":"List AI platform agents","description":"Needs the \"Allow SIP Trunking\" plan feature (listed only when the company has it; Voice Logica admins always): list the agents on the customer's ElevenLabs, Vapi or Retell account, using the key saved on their AI keys page (AI platforms; save one with save_ai_platform_key). Also returns the account region (ElevenLabs global/eu/in/sg, Vapi us/eu, Retell us). Use the agent id with connect_ai_platform_agent (answer a line) or import_ai_platform_agent (copy it here).","inputSchema":{"type":"object","properties":{"provider":{"type":"string","description":"The AI platform: elevenlabs, vapi or retell. Its key must be saved on the AI keys page.","enum":["elevenlabs","vapi","retell"]},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["provider"]},"annotations":{"title":"List AI platform agents","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_companies","title":"List companies","description":"List companies accessible to the current user. Admins/super-admins see all companies (with name, id, email, resellerId). Resellers see only their managed companies (with name, id, resellerId). Account managers see all companies in their distributor (name, id, resellerId) so they can pick one to switch into or request access for — but can only enter ones they own, demo companies, or companies they have an active grant for, and each row says which in access: \"member\", \"granted\" or \"demo\" can be opened (pass its companyId or switch_company); \"request_access\" refuses every call until access is granted, so do not call other tools on it: tell the user and offer team_execute (action \"request_company_access\") once; \"not_checked\" means the list was too long to check demo status (narrow it with search). The resellerId indicates which reseller owns each company (null if none). Use this before switch_company or team_execute (action \"request_company_access\") to find the target company ID.","inputSchema":{"type":"object","properties":{"search":{"type":"string","description":"Only companies whose name, email or id contains this text (case-insensitive)."},"offset":{"type":"number","description":"Skip this many companies (paging, sorted oldest first)."},"limit":{"type":"number","description":"At most this many companies (max 500). With offset or limit the answer is { total, offset, companies }."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"List companies","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_contact_companies","title":"List contact companies","description":"List the company records (customers, suppliers, partners: the companies your contacts belong to) with their pipeline stage and custom-field values. Filter by stageKey, by custom-field value (fields: {key: value}) or by name (search). withActivity adds where each one stands: its last activity and last 3 events. Not your own Voice Logica companies: that is list_companies.","inputSchema":{"type":"object","properties":{"stageKey":{"type":"string"},"fields":{"type":"object"},"search":{"type":"string","maxLength":200},"withActivity":{"type":"boolean","description":"Add each record's last activity and the last 3 events (where things stand); slower"},"limit":{"type":"integer","default":25,"minimum":1,"maximum":100},"skip":{"type":"integer","default":0,"minimum":0},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"List contact companies","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_contacts","title":"List contacts","description":"List or search the company's contacts (including the ones synced from Google with crm_execute (action \"sync_google_contacts\")). Without a query, returns the most recently active contacts. With a query, searches by name, phone, email or company name. Returns id, name, phone, email and the notes the AI agent reads.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"Name, phone number or email to search for. If omitted, returns the most recently active contacts."},"limit":{"type":"number","description":"Maximum number of contacts to return (default 20, max 100)."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"List contacts","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_integrations","title":"List integrations","description":"List every integration provider and whether it is connected for the current company. Use describe_integration for the action catalog, then integration_query (reads) or integration_execute (writes). Connect an unconnected provider with connect_integration (same credentials as the Integrations page; it lists the exact args).","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"List integrations","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"list_knowledge_files","title":"List knowledge files","description":"List the company's knowledge files — the Q&A collections voice agents use to answer callers. Returns id, name, description, entry count, background processing status (processing/ready/failed) and the agents each file is assigned to.","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"List knowledge files","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_learning_items","title":"List learning items","description":"List what waits in Learning → Needs review, or what was added automatically. kind: \"unanswered\" (questions an agent could not answer), \"suggested\" (answers a colleague gave in a chat or call, drafted as Q&A), \"conflict\" (a new answer that contradicts saved knowledge). Omit kind for all. autoAdded true lists answers auto-add saved without review (the \"Added automatically\" chip; undo them with review_learning_item). Each item has its suggestedKnowledgeBase and routingConfidence (0–100: how sure routing is of the base, not of the answer), autoAddResult (why it was not added automatically; mayContradictQuestion names the saved question it may contradict), and for a conflict the existing answer. Sorted most-asked first.","inputSchema":{"type":"object","properties":{"kind":{"type":"string","description":"Which section. Omit for everything.","enum":["unanswered","suggested","conflict"]},"status":{"type":"string","description":"Default pending (waiting on a person).","enum":["pending","approved","dismissed"]},"autoAdded":{"type":"boolean","description":"true = only answers added automatically (implies status approved)."},"agentId":{"type":"string","description":"Only items from this agent (get_agents)."},"search":{"type":"string","description":"Words in the question (accents and capitals ignored)."},"page":{"type":"number","description":"Page, from 1."},"pageSize":{"type":"number","description":"1–100, default 25."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"List learning items","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_mine","title":"List mine","description":"The signed-in person's own things on Voice Logica: \"my tasks\", \"my callbacks\", \"my calls\", \"my phone / extension\". Use it when someone asks about their own tasks, callbacks, to-dos or calls in Voice Logica (the Tasks page); a task app the user names is reached through its integration. Without what: my open tasks. Answer exactly what was asked: tasks for tasks, calls only for calls. Company-wide lists stay on list_tasks and get_calls.","inputSchema":{"type":"object","properties":{"what":{"type":"string","description":"tasks (open tasks assigned to me), callbacks (my callback tasks), calls (calls handled by me), phone (my extension, which devices are on for me, SIP credentials and setup steps, the Windows, iPhone and Android apps, the lines I can call from), settings (my phone setup plus my personal settings: task emails, click-to-call method, my recording and analysis (off / always / on_demand), whether I take tasks and my away days, and my caller-card primary / auto-open with the providers I can pick from). Omit it for my open tasks. Calls only when the person asks about calls.","enum":["tasks","callbacks","calls","phone","settings"]},"status":{"type":"string","description":"Tasks and callbacks: \"open\" (default), \"done\" or \"all\".","enum":["open","done","all"]},"dueBefore":{"type":"string","description":"Tasks and callbacks: ISO date-time, e.g. end of today for \"due today\", now for \"overdue\".","maxLength":40},"fromDate":{"type":"string","description":"Calls: ISO date-time to start from.","maxLength":40},"limit":{"type":"integer","description":"How many (default 20).","minimum":1,"maximum":100},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"List mine","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_plans","title":"List plans","description":"List available subscription plans that the company can upgrade to. Shows plan name, price, renewal period, and included features (minutes, agents, SMS, etc.). Resellers never see their own tier: on their own company they get buyCredits (credit packs in EUR, by card), minutePacks and clientPlans (in credits) and their creditBalance; with the companyId of a client (or switched into it) they get the subscriptionPlans and addOns of that client in credits, to assign with upgrade_plan and that companyId. A client of a reseller cannot list plans. Each plan has audience: ai_agents (AI phone agents with voice minutes) or mobile_app (the Noema mobile app only, no voice minutes: the AI only takes messages; never offer it to someone who wants an AI agent). Use the plan ID with upgrade_plan to change subscription.","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"List plans","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_resources","title":"List resources","description":"Custom records the company keeps on its contacts and company records, e.g. customer instructions (\"invoices only to head office\"), AC units, vehicles. Each has a type (kind), field values (attributes), notes and status, and may point to the call or email it came from. Filter by contact (contactId, or a name/phone/email in contact; includes the records on its company record unless includeCompany is false), contactCompanyId, callId, emailId, kind, status or search words. Before acting for a customer, read their customer instructions here. Types and their fields: crm_query action \"list_resource_types\".","inputSchema":{"type":"object","properties":{"kind":{"type":"string","description":"Only records of this type (kind from list_resource_types)","minLength":1,"maxLength":60,"pattern":"^[a-z][a-z0-9_]*$"},"contactId":{"type":"string","description":"Records of this contact","pattern":"^[0-9a-fA-F]{24}$"},"contact":{"type":"string","description":"Or a name, phone number or email to find the contact by","maxLength":200},"contactCompanyId":{"type":"string","description":"Records on this company record","pattern":"^[0-9a-fA-F]{24}$"},"callId":{"type":"string","description":"Records created from this call","pattern":"^[0-9a-fA-F]{24}$"},"emailId":{"type":"string","description":"Records created from this email","pattern":"^[0-9a-fA-F]{24}$"},"includeCompany":{"type":"boolean","description":"With a contact: also the records on its company record that apply to the whole client (default true)","default":true},"status":{"type":"string","maxLength":60},"search":{"type":"string","description":"Words to find in the fields or notes","maxLength":200},"limit":{"type":"integer","default":25,"minimum":1,"maximum":100},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"List resources","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_tasks","title":"List tasks","description":"List follow-up tasks: callbacks callers asked for, calls to make, meetings, reminders and to-dos, soonest due first. Most come from calls automatically (auto-create tasks, the Schedule Callback tool); people also add them by hand. Each task has its caller/contact, assignee (or proposedTo: waiting, nobody could take it yet), due time, priority and sourceCallId (read the call with get_calls, callId). Users without company-wide task access only see tasks assigned to them. Use for \"who needs a callback\", \"what is overdue\", \"what is on my list today\", \"which cases are urgent\" (priority high).","inputSchema":{"type":"object","properties":{"status":{"type":"string","description":"\"open\" (default), \"done\" or \"all\"."},"kind":{"type":"string","description":"Only one kind: callback, call, meeting, reminder or todo."},"priority":{"type":"string","description":"Only one priority: high, medium or low. \"high\" = the urgent cases (the AI files a task as high when the caller said it is urgent)."},"assignee":{"type":"string","description":"\"me\", \"unassigned\", \"proposed\" (waiting with nobody assigned, proposed to me among the members it fits: it comes to me when I take tasks, or urgent tasks for an urgent one), or a user id. Omit for everyone visible to you."},"dueBefore":{"type":"string","description":"ISO date-time: only tasks due before it (e.g. end of today for \"due today\", now for \"overdue\")."},"contactId":{"type":"string","description":"Only tasks of this contact."},"limit":{"type":"number","description":"Max tasks (default 50, max 200)."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"List tasks","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_voices","title":"List voices","description":"List the voices available for a given language so the user can listen and pick one. Returns each voice id, name, gender, accent, age, and a public previewUrl (mp3). Present the voices as a list with each previewUrl as a clickable link so the user can hear them, then assign the chosen one with update_agent_settings (section \"voice\"; section \"languages\" for a new language), sending voiceProvider = the provider listed here. For ElevenLabs, previewUrl speaks a sample sentence in the requested language (previewInLanguage=true); the first listing of a language can take a few seconds while samples are generated. Names reflect the company's own names set with rename_voice. Defaults to the ElevenLabs provider.","inputSchema":{"type":"object","properties":{"language":{"type":"string","description":"Locale code to list available voices for, e.g. \"en-US\", \"el-GR\".","enum":["ar-AE","ar-BH","ar-EG","ar-KW","ar-OM","ar-QA","ar-SA","ar-LB","ar-MA","el-GR","en-US","es-ES","fr-FR","el-CY","en-DK","he-IL","bg-BG","ru-RU","de-DE","it-IT","pt-PT","ru-RU","tr-TR","zh-CN","ja-JP","ko-KR","ja-JP","ar-SA","hi-IN","bn-BD","pa-IN","ta-IN","te-IN","ur-IN","vi-VN","th-TH","id-ID","ms-MY","fil-PH","nl-NL","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","zh-MO","zh-SG","zh-CH","zh-CHT","zh-CHS","zh-CHT","ro-RO","hu-HU","pl-PL","sr-RS","mk-MK","bg-BG","uk-UA","en-GB","en-AU","en-CA","en-NZ","en-ZA","en-IN","en-IE","en-PH","en-SG","en-HK","en-MO","en-CN","en-TW","en-MY","nl-BE","de-AT","de-CH","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","cs-CZ","sk-SK","sl-SI","hr-HR","lt-LT","lv-LV","et-EE","mt-MT","lb-LU","sq-AL","bs-BA","ca-AD","fr-MC","it-SM","it-VA","ur-PK"]},"provider":{"type":"string","description":"Voice provider to list voices from. Defaults to \"elevenlabs\". Pass \"grok\" for Grok (xAI) TTS voices, \"gemini\" for Gemini 3.8 TTS voices."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["language"]},"annotations":{"title":"List voices","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"list_workflow_wait_runs","title":"List workflow wait runs","description":"List workflow runs paused on a Wait node, soonest first: when each continues (resumeAt), which workflow and node, and a short preview of what it carries (order, customer). Default status waiting; pass done, failed or cancelled for history (kept 30 days).","inputSchema":{"type":"object","properties":{"workflowId":{"type":"string","description":"Only runs of this workflow"},"status":{"type":"string","description":"waiting (default), running, done, failed or cancelled"},"limit":{"type":"number","description":"Max rows, default 50, max 200"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"List workflow wait runs","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"manage_caller_card_custom_link","title":"Manage caller card custom link","description":"Create, update or delete a custom link on the caller card (web app: Integrations → Caller card → Custom links): a button for a system without an integration (an in-house CRM, a search page) whose URL is filled with the caller's details on every call. Variables in urlTemplate: {{phoneNumber}} (as it called, +306945123378), {{phoneDigits}} (306945123378), {{phoneLocal}} (without the country code, 6945123378), {{callId}}, {{contactName}}, {{contactEmail}}; values are URL-encoded. Example: https://crm.example.com/customers?search={{phoneLocal}}. A link can also open a program on the computer of the user through the link type the program registered (callto:{{phoneNumber}}, sip:, msteams:, a vendor scheme); the browser asks once before opening it. javascript:, data:, file: and similar are refused. The link shows on every call, also when no integration knows the caller. Same switches as an integration (showCard, autoOpen, primary; primary: true clears it everywhere else), company-wide; a user sets their own primary or auto-open with execute_mine set_caller_card_preferences. Max 10 per company. Returns the saved link, or { deleted: true }.","inputSchema":{"type":"object","properties":{"action":{"type":"string","enum":["create","update","delete"],"description":"create | update | delete"},"id":{"type":"string","description":"The link id from get_caller_card_settings (update and delete)."},"label":{"type":"string","description":"Button text, up to 40 characters, e.g. \"Our CRM\" (required to create)."},"urlTemplate":{"type":"string","description":"https:// URL or program link (callto:, sip:, a vendor scheme) with variables, no spaces (required to create)."},"showCard":{"type":"boolean","description":"Show it on the card (default true)."},"autoOpen":{"type":"string","enum":["off","on_answer","on_ring"],"description":"off | on_answer | on_ring (default off)."},"primary":{"type":"boolean","description":"Make it the primary button (the one that opens by itself)."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["action"]},"annotations":{"title":"Manage caller card custom link","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"messages_execute","title":"Messages execute","description":"Change actions for messages: send_sms, send_viber, send_email, connect_mailbox, label_email, add_sms_sender, set_default_sms_sender. Inputs: messages_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Messages execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"messages_query","title":"Messages query","description":"SMS, Viber and email from this chat: send an SMS, Viber message or email, read sent SMS, see which sent emails were opened and which links (web, phone, email) were clicked, list the connected mailboxes, connect a new one (Gmail, Outlook or IMAP/SMTP) and read their emails, list or register SMS sender IDs, read or set the company default SMS sender (used by every SMS that names none). Read actions: get_sms, list_emails, get_email, get_sent_emails, list_mailboxes, list_email_labels, list_sms_senders, get_default_sms_sender. Changes run with messages_execute, not here. Write actions: send_sms, send_viber, send_email, connect_mailbox, label_email, add_sms_sender, set_default_sms_sender. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Messages query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"pbx_execute","title":"PBX execute","description":"Change actions for pbx: claim_edge_device, set_edge_media_ports, update_edge_device, pause_edge_device, resume_edge_device, disconnect_3cx. Inputs: pbx_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"PBX execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"pbx_query","title":"PBX query","description":"Office PBX and phone line diagnostics (connect_pbx, connect_3cx and create_sip_trunk stay their own tools): check whether a PBX registered, check or disconnect a 3CX connected as a Programmable Extension, SIP logs of a call or a trunk, edge devices and their installer, claim an edge device, set an edge device's LAN audio port range, update an edge device to the latest release, pause an edge device (no calls through it) and resume it. Read actions: check_pbx_connection, check_3cx_connection, get_sip_logs, get_trunk_sip_logs, get_edge_devices, get_edge_installer. Changes run with pbx_execute, not here. Write actions: claim_edge_device, set_edge_media_ports, update_edge_device, pause_edge_device, resume_edge_device, disconnect_3cx. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"PBX query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":true}},{"name":"procedures_execute","title":"Procedures execute","description":"Change actions for procedures: create_procedure, update_procedure, delete_procedure, duplicate_procedure, restore_procedure_revision, attach_procedures, detach_procedures, reorder_procedures, add_procedure_presets. Inputs: procedures_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Procedures execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"procedures_query","title":"Procedures query","description":"Company procedures: named blocks of steps written once and attached to agents (like workflows), which an agent loads mid-call only when needed (load_procedure), so the prompt carries just their key and trigger. List, read, create, edit (reaches every agent that uses it; earlier texts kept as revisions), duplicate, delete and reorder them; attach or detach them on an agent (live or in a version); propose them from the prompt's ==== sections, or start from ready-made presets (account questions, returns, complaints, booking change, identity check). Read actions: list_procedures, get_procedure, split_prompt_into_procedures, list_procedure_revisions, list_procedure_presets. Changes run with procedures_execute, not here. Write actions: create_procedure, update_procedure, delete_procedure, duplicate_procedure, restore_procedure_revision, attach_procedures, detach_procedures, reorder_procedures, add_procedure_presets. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Procedures query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"query_user_action","title":"Query user action","description":"Manage the company team members: list them with their status, see the access of one member, update name, phone or access matrix, disable or re-enable a member in this company, remove them, send a password-reset link, and the new-country sign-in code. Platform admins also get account search on every company and disable or enable everywhere; super admins also get access levels. Read actions: list_users, get_user, get_user_client_companies (reseller), find_user and find_disposable_email_users (platform admins: accounts on throwaway mail domains). Without action: every action you may run with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query_user_action only) to list the actions with their inputs.","minLength":1,"maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Query user action","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"remove_ai_platform_key","title":"Remove AI platform key","description":"Needs the \"Allow SIP Trunking\" plan feature (listed only when the company has it; Voice Logica admins always): delete the current company's saved ElevenLabs, Vapi or Retell key. Lines already connected keep working; connecting and importing need a key again.","inputSchema":{"type":"object","properties":{"provider":{"type":"string","description":"The AI platform: elevenlabs, vapi or retell.","enum":["elevenlabs","vapi","retell"]},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["provider"]},"annotations":{"title":"Remove AI platform key","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"rename_voice","title":"Rename voice","description":"Give a voice the company's own name, e.g. \"Maria - reception\". The name shows in list_voices for this company only; the voice itself and other companies are unaffected. Pass an empty name to restore the provider's name.","inputSchema":{"type":"object","properties":{"voiceId":{"type":"string","description":"Voice id from list_voices","pattern":"^[A-Za-z0-9_-]+$"},"name":{"type":"string","description":"The company's name for this voice, e.g. \"Maria - reception\". Pass an empty string to restore the provider's name.","maxLength":60},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["voiceId","name"]},"annotations":{"title":"Rename voice","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"report_unanswered_question","title":"Report unanswered question","description":"Log a question about the Voice Logica product that you could not answer, so the team answers the user and adds it to the docs. Call it after search_docs and get_guide found nothing that answers it, instead of guessing. Reports from every company go to one internal list for the Voice Logica team (the same open question asked again only bumps its count). Tell the user it has been passed to the team. Not for caller questions a voice agent missed: those are knowledge_query (action \"list_unanswered_questions\").","inputSchema":{"type":"object","properties":{"question":{"type":"string","description":"The user's question in their own words (max 500 characters)."},"context":{"type":"string","description":"Optional: what the user is trying to do and what you already told them or tried."},"searchedFor":{"type":"array","description":"Optional: the search_docs / get_guide queries that found nothing.","items":{"type":"string"}},"language":{"type":"string","description":"Optional: language of the question, e.g. \"en\" or \"el\"."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["question"]},"annotations":{"title":"Report unanswered question","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"reports_execute","title":"Reports execute","description":"Change actions for reports: create_report_subscription, update_report_subscription, delete_report_subscription, send_report_now. Inputs: reports_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Reports execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"reports_query","title":"Reports query","description":"Scheduled report emails (Company settings → Reports): daily, weekly or monthly emails with company call totals and outcomes, each member's and each AI agent's calls, and new Learning center items, to members or any address. List, read, create, change, pause or delete them, and send one now. Read actions: list_report_subscriptions, get_report_subscription. Changes run with reports_execute, not here. Write actions: create_report_subscription, update_report_subscription, delete_report_subscription, send_report_now. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Reports query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"reveal_sensitive_data","title":"Reveal sensitive data","description":"Show the real value behind ONE protected placeholder in a call transcript (e.g. {{amka_1}}, {{afm_1}}, {{iban_1}}; the call's sensitiveData field lists them with their last four). Only when the person asked for that value: it is sent to you, an external AI, and every reveal is recorded in the company audit log with the reason. Needs the calls permission \"Reveal sensitive data\" and the company setting that allows reveals through AI assistants. One value per call; never loop over calls. CVV and PIN are never stored. audio: true returns instead a listening link (5 minutes) where the person can hear the caller say it, e.g. to check a misheard digit; give the link to the person, the audio is not sent to you. Values listed in sensitiveData.clipPlaceholders have audio.","inputSchema":{"type":"object","properties":{"callId":{"type":"string","description":"The call: its id or callId from get_calls."},"placeholder":{"type":"string","description":"The placeholder exactly as in the transcript, e.g. {{amka_1}}."},"reason":{"type":"string","description":"Why the value is needed, in the user's words. Stored in the audit log."},"audio":{"type":"boolean","description":"true: return a 5-minute listening link to the caller saying the value, instead of the value."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["callId","placeholder","reason"]},"annotations":{"title":"Reveal sensitive data","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"review_learning_item","title":"Review learning item","description":"Act on one item from list_learning_items, as the Save / Dismiss / Undo buttons in Learning do. action \"save\": puts it into knowledge — pass answer to replace the drafted one (required for an unanswered question), knowledgeFileId to choose the base (default: the suggested base), agentIds to make only those agents learn it (the base is connected to them). A conflict needs conflictResolution: keep_existing, keep_incoming, merge (with mergedAnswer) or keep_both. If the saved answer turns out to contradict knowledge, the item becomes a conflict instead and the reply says so. action \"dismiss\": leaves it out of knowledge. action \"undo\": only for an answer added automatically — removes the Q&A it created and puts it back in Needs review. Confirm with the user before dismissing or undoing.","inputSchema":{"type":"object","properties":{"itemId":{"type":"string","description":"Item id (from list_learning_items)."},"action":{"type":"string","enum":["save","dismiss","undo"]},"answer":{"type":"string","description":"save: the fact agents should give (replaces the draft)."},"question":{"type":"string","description":"save: rewrite the question the way callers ask it."},"knowledgeFileId":{"type":"string","description":"save: the knowledge base to save into (list_knowledge_files). Default: the suggested one."},"agentIds":{"type":"array","description":"save: only these agents learn it (get_agents). Omit = every agent that reads the base.","items":{"type":"string"}},"conflictResolution":{"type":"string","description":"save, conflict only: which answer agents keep.","enum":["keep_existing","keep_incoming","merge","keep_both"]},"mergedAnswer":{"type":"string","description":"save, conflictResolution \"merge\": the one combined answer."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["itemId","action"]},"annotations":{"title":"Review learning item","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"run_agent_scenario","title":"Run agent scenario","description":"Run one agent test scenario combo. Default mode \"live\" places a REAL SIP call (billed minutes), then a judge grades the transcript. Params: scenarioId (required); optional mode (live|text), model, judgeModel, voiceConfig, stt, localeCode, audioQuality, repetitions (1-10), agentVersionId (saved version overlay; omit = prod), callerId, dynamicVariables (merged for this run), maxLiveRepetitions (raise live cap, default 3), includeTranscript. Live runs are open to anyone who can edit the agent and use the company call minutes; the scenario's mockedTools/useRealTools are honored in live calls (mocked tools fire but return canned responses — no real side effects). For versions × callers × iterations like the Tests tab UI, use scenarios_execute (action \"run_agent_scenario_matrix\") instead. Returns one result per repetition with verdict, score, improvements, etc. A live run waits for the whole call (minutes): if your client times out, do NOT retry — the run continues; read it with scenarios_query (action \"get_agent_scenario_results\") and this scenarioId. A second live run of the same scenario while one is in progress is refused.","inputSchema":{"type":"object","properties":{"scenarioId":{"type":"string","description":"The scenario to run (use scenarios_query (action \"list_agent_scenarios\") to find it)"},"mode":{"type":"string","description":"live (default; only \"live\" and \"text\" exist) = real SIP call via the distributor scenario caller; text = cheap LLM-only simulation whose only tool is load_procedure (with procedureMode on_trigger, the default). Text is refused for scenarios that expect a transfer or any other tool call (schedule_callback, MCP tools, workflows...): omit mode or pass \"live\" for those","enum":["text","live"]},"model":{"type":"object","description":"LLM for the agent under test; defaults to agent phone settings model, then platform default","properties":{"completionProvider":{"type":"string","enum":["openai","groq","together","mistral","anthropic","gemini","grok","minimax","custom-llm"]},"priority":{"type":"boolean"},"model":{"type":"string"},"temperature":{"type":"number"},"maxCompletionTokens":{"type":"number"},"reasoningEffort":{"type":"string","enum":["none","minimal","low","medium","high","xhigh","max"]},"openAiTranscriptionModel":{"type":"string","enum":["whisper-1","gpt-live-transcribe","gpt-realtime-whisper","gpt-4o-transcribe","gpt-4o-mini-transcribe","fromTranscriptionProvider"]},"transcriptionPrompt":{"type":"string"},"fallbackModel":{"type":"object","properties":{"completionProvider":{"type":"string","enum":["openai","groq","together","mistral","anthropic","gemini","grok","minimax","custom-llm"]},"model":{"type":"string"}},"required":["completionProvider","model"]}},"required":["completionProvider","model"],"example":{"completionProvider":"openai","model":"gpt-5.6-terra","priority":false,"temperature":0.5,"maxCompletionTokens":1000,"reasoningEffort":"medium"}},"judgeModel":{"type":"object","description":"LLM that grades the run; defaults to scenario judgeModel, then platform default","properties":{"completionProvider":{"type":"string","enum":["openai","groq","together","mistral","anthropic","gemini","grok","minimax","custom-llm"]},"priority":{"type":"boolean"},"model":{"type":"string"},"temperature":{"type":"number"},"maxCompletionTokens":{"type":"number"},"reasoningEffort":{"type":"string","enum":["none","minimal","low","medium","high","xhigh","max"]},"openAiTranscriptionModel":{"type":"string","enum":["whisper-1","gpt-live-transcribe","gpt-realtime-whisper","gpt-4o-transcribe","gpt-4o-mini-transcribe","fromTranscriptionProvider"]},"transcriptionPrompt":{"type":"string"},"fallbackModel":{"type":"object","properties":{"completionProvider":{"type":"string","enum":["openai","groq","together","mistral","anthropic","gemini","grok","minimax","custom-llm"]},"model":{"type":"string"}},"required":["completionProvider","model"]}},"required":["completionProvider","model"],"example":{"completionProvider":"openai","model":"gpt-5.6-terra","priority":false,"temperature":0.5,"maxCompletionTokens":1000,"reasoningEffort":"medium"}},"voiceConfig":{"type":"object","description":"Configuration for voice synthesis settings","properties":{"voiceProvider":{"type":"string","description":"The voice provider service to use for text-to-speech","enum":["microsoft","openai","google","elevenlabs","deepgram","minimax","murf","voicelogica","soniox","grok","gemini"]},"voiceId":{"type":"string","description":"The specific voice ID to use for speech synthesis","minLength":1},"speed":{"type":"number","description":"Speech rate multiplier. Effective range depends on provider: ElevenLabs 0.7-1.2, Google 0.25-2.0, Microsoft 0.25-2.0, Minimax 0.5-2.0","minimum":0.25,"maximum":2},"stability":{"type":"number","description":"Stability of the voice (0.0 = low, 1.0 = high)","minimum":0,"maximum":1},"similarity_boost":{"type":"number","description":"Similarity of the voice (0.0 = low, 1.0 = high)","minimum":0,"maximum":1},"style":{"type":"number","description":"ElevenLabs style exaggeration (0.0 = none, 1.0 = max). Anything above 0 adds a little latency","minimum":0,"maximum":1},"use_speaker_boost":{"type":"boolean","description":"ElevenLabs speaker boost: closer to the original speaker at a small latency cost"},"backgroundSound":{"type":"string","description":"The background sound to play during the call","enum":["none","coffee_shop","call_center","office"]},"backgroundVolume":{"type":"number","description":"The volume of the background sound (0.0 = low, 1.0 = high)","minimum":0,"maximum":1},"allowCallerToRequestSpeedChange":{"type":"boolean","description":"When enabled, the caller can ask the AI to speak faster or slower during the call"},"adjustBasedOnHumanSpeed":{"type":"boolean","description":"When enabled, the AI automatically adjusts its speaking speed to match how fast or slow the human caller speaks"},"modelId":{"type":"string","description":"ElevenLabs TTS model for this agent. Omit or null to use the platform default","enum":["eleven_flash_v2_5","eleven_turbo_v2_5","eleven_multilingual_v2","eleven_v3","eleven_v4","eleven_v4_turbo"]}},"required":["voiceProvider","voiceId"],"example":{"voiceProvider":"google","voiceId":"en-US-Wavenet-1","backgroundSound":"none","speed":1,"stability":0.5,"similarity_boost":0.5,"backgroundVolume":0.2,"allowCallerToRequestSpeedChange":false,"adjustBasedOnHumanSpeed":false}},"stt":{"type":"object","description":"Configuration for speech-to-text transcription settings","properties":{"transcriptionProvider":{"type":"string","description":"The transcription service provider to use for speech-to-text","enum":["microsoft","google","fireworks","speechmatics","openai","assemblyai","deepgram","google_v1","google_v2","elevenlabs","voicelogica","soniox"]},"silenceDurationMs":{"type":"number","description":"Duration of silence in milliseconds before considering the user finished speaking","minimum":500},"adaptationPhraseSetIds":{"type":"array","description":"IDs of adaptation phrase sets to improve transcription accuracy","items":{"type":"string"}},"transcriptionVoiceMailPhrases":{"type":"array","description":"Phrases that indicate the call has reached a voicemail system","items":{"type":"string"}},"waitForFullTranscription":{"type":"boolean","description":"Whether to wait for complete transcription before processing"},"enhanced":{"type":"boolean","description":"Whether to use enhanced transcription models for better accuracy"},"audioEnhancement":{"type":"boolean","description":"Whether to run ai-coustics speech enhancement (noise/background-speech suppression) on caller audio before transcription"},"audioEnhancementLevel":{"type":"number","description":"How aggressively the ai-coustics model suppresses noise (0.0-1.0). Uses the model default when omitted","minimum":0,"maximum":1},"endpointSensitivity":{"type":"number","description":"Soniox only: how aggressively endpoints are detected (-1.0 to 1.0). Higher = faster end-of-turn but more risk of cutting the caller off mid-sentence. Platform default 0.3","minimum":-1,"maximum":1},"maxEndpointDelayMs":{"type":"number","description":"Soniox only: hard cap on how long Soniox may wait for an endpoint after speech ends (500-3000ms). Platform default 1500","minimum":500,"maximum":3000},"endpointLatencyAdjustmentLevel":{"type":"integer","description":"Soniox only: endpoint latency reduction level 0-3 (3 = most aggressive). Platform default 3","minimum":0,"maximum":3},"speculativeFinalize":{"type":"boolean","description":"Soniox only: at the speculative quiet moment, request finalize() to flush pending tokens into the candidate before the endpoint. Platform default from admin settings"},"agentTextInput":{"type":"boolean","description":"Soniox only, phone calls: send the agent's spoken words to speech-to-text as it speaks (model stt-rt-v6), so short replies to its questions (\"yes\", one of the offered options, the digits it asked for) are heard right and its own echo is not transcribed. Off = stt-rt-v5. Platform default from admin settings (off)"},"singleUtterance":{"type":"boolean","description":"Whether to process speech as single utterances"},"openAiModel":{"type":"string","description":"OpenAI model to use for transcription","enum":["whisper-1","gpt-transcribe","gpt-4o-transcribe","gpt-4o-mini-transcribe","gpt-4o-transcribe-diarize"]},"prompt":{"type":"string","description":"Custom prompt used for transcription processing"},"keywords":{"type":"array","description":"Keywords to focus on during transcription","items":{"type":"string"}},"context":{"type":"string","description":"Soniox only: free-text background for speech-to-text, e.g. what the caller is expected to say (\"the caller will state their 9-digit tax number (ΑΦΜ)\"). Sent as Soniox context, not as keywords: it steers how spoken numbers and domain phrases are transcribed. Max 2000 characters","maxLength":2000},"initializationMethod":{"type":"string","description":"Method to initialize the transcription service","enum":["on_call_start","on_human_join"]}},"required":["transcriptionProvider"],"example":{"transcriptionProvider":"google","silenceDurationMs":1000,"enhanced":false,"waitForFullTranscription":false,"openAiModel":"whisper-1"}},"localeCode":{"type":"string","description":"Locale code","enum":["ar-AE","ar-BH","ar-EG","ar-KW","ar-OM","ar-QA","ar-SA","ar-LB","ar-MA","el-GR","en-US","es-ES","fr-FR","el-CY","en-DK","he-IL","bg-BG","ru-RU","de-DE","it-IT","pt-PT","ru-RU","tr-TR","zh-CN","ja-JP","ko-KR","ja-JP","ar-SA","hi-IN","bn-BD","pa-IN","ta-IN","te-IN","ur-IN","vi-VN","th-TH","id-ID","ms-MY","fil-PH","nl-NL","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","zh-MO","zh-SG","zh-CH","zh-CHT","zh-CHS","zh-CHT","ro-RO","hu-HU","pl-PL","sr-RS","mk-MK","bg-BG","uk-UA","en-GB","en-AU","en-CA","en-NZ","en-ZA","en-IN","en-IE","en-PH","en-SG","en-HK","en-MO","en-CN","en-TW","en-MY","nl-BE","de-AT","de-CH","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","cs-CZ","sk-SK","sl-SI","hr-HR","lt-LT","lv-LV","et-EE","mt-MT","lb-LU","sq-AL","bs-BA","ca-AD","fr-MC","it-SM","it-VA","ur-PK"]},"audioQuality":{"type":"string","description":"Simulated caller audio quality fixture","enum":["low","medium","high"]},"repetitions":{"type":"integer","description":"How many times to run with the same config (shared runId). Default 1. Live usually caps at 3 unless maxLiveRepetitions is raised.","minimum":1,"maximum":10},"agentVersionId":{"type":"string","description":"Optional saved AgentVersion id (from versions_query list_agent_versions) to overlay onto the agent under test for this run. Omit it (or pass \"prod\", as in run_agent_scenario_matrix versionIds) to test the live agent. \"staging\" is not a version id."},"callerId":{"type":"string","description":"Caller id presented on the agent-under-test call (CRM / associate lookup). Overrides scenario.callerId for this run."},"dynamicVariables":{"type":"object","description":"Merged into scenario.dynamicVariables for this run only (same as inbound call dyn vars / {{placeholders}})"},"maxLiveRepetitions":{"type":"integer","description":"Override live repetition cap (default 3). Tests-style runs can use up to 10.","minimum":1,"maximum":10},"targetUserId":{"type":"string","description":"Team-member tests: who to call. Needed when the test is assigned to several people or the whole team (user id from team_query)"},"includeTranscript":{"type":"boolean","description":"When true, include the full conversation transcript in each returned result. Default false to keep output compact."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["scenarioId"]},"annotations":{"title":"Run agent scenario","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"run_workflow","title":"Run workflow","description":"Run a workflow for real by its ID: emails/SMS really go out and are charged (use test_workflow to dry-run). By default it starts the onAPICall trigger: use get_workflows with triggerType \"onAPICall\" to find them and their payload schema. Admins and account managers can pass triggerId to run any other trigger once (e.g. a Shopify orders/fulfilled trigger), with payload holding the variables that trigger would carry (e.g. \"customer.email\", \"order.name\"). The result lists each node that ran; failedNodes says which failed and why.","inputSchema":{"type":"object","properties":{"workflowId":{"type":"string","description":"The ID of the workflow to run (from get_workflows)"},"payload":{"type":"object","description":"Key-value payload matching the workflow's expected payload schema. get_workflows (apiTriggers) shows the expected fields."},"triggerId":{"type":"string","description":"Admins and account managers: id of the trigger to run (from get_workflow), for a workflow without an onAPICall trigger. Omit to run the onAPICall trigger."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["workflowId"]},"annotations":{"title":"Run workflow","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"save_ai_platform_key","title":"Save AI platform key","description":"Needs the \"Allow SIP Trunking\" plan feature (listed only when the company has it; Voice Logica admins always): save (or replace) the current company's ElevenLabs, Vapi or Retell API key. The key is checked against the platform first (which also finds its region: ElevenLabs global/eu/in/sg, Vapi us/eu, Retell us), then stored encrypted (AES-256-GCM). Only the masked key comes back. Then use list_ai_platform_agents.","inputSchema":{"type":"object","properties":{"apiKey":{"type":"string","description":"The platform API key. Checked against the platform, then stored encrypted.","minLength":8,"maxLength":500},"provider":{"type":"string","description":"The AI platform: elevenlabs, vapi or retell.","enum":["elevenlabs","vapi","retell"]},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["apiKey","provider"]},"annotations":{"title":"Save AI platform key","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"scenarios_execute","title":"Scenarios execute","description":"Change actions for scenarios: create_agent_scenario, update_agent_scenario, delete_agent_scenario, run_agent_scenario_matrix, run_agent_scenario_suite, stop_agent_scenario_suite, apply_scenario_improvements, dismiss_scenario_improvements. Inputs: scenarios_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Scenarios execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"scenarios_query","title":"Scenarios query","description":"Agent test scenarios beyond a single run (run_agent_scenario stays its own tool): create, edit and delete scenarios, generate them, run a suite or a matrix, read results, apply or dismiss suggested improvements. Read actions: list_agent_scenarios, get_agent_scenario, get_agent_scenario_results, estimate_agent_test_run, generate_agent_scenarios. Changes run with scenarios_execute, not here. Write actions: create_agent_scenario, update_agent_scenario, delete_agent_scenario, run_agent_scenario_matrix, run_agent_scenario_suite, stop_agent_scenario_suite, apply_scenario_improvements, dismiss_scenario_improvements. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Scenarios query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"search_contact_activity","title":"Search contact activity","description":"Look up a Voice Logica contact timeline (calls, emails, notes, tasks, SMS, custom records such as customer instructions). Find the contact by contactId, or by contact (a name, phone number or email). Returns a slim activity list. SMS rows give the text, the number (to), the sender ID it went out under (from) and who sent it (sentBy: AI agent with agentName + callId, campaign, workflow, team member userName, or automatic). Optional: pass query (the question about this contact) to note it on the contact timeline, and after answering call again with the same contactId and query plus a short answer to note the reply there too.","inputSchema":{"type":"object","properties":{"contactId":{"type":"string","description":"Voice Logica contact id. Omit it and pass contact when you only have a name, number or email."},"contact":{"type":"string","description":"A name, phone number or email to find the contact by. Several matches return their ids to pick from."},"query":{"type":"string","description":"The question being asked about this contact (logged on the timeline). Omit it to just read the recent activity."},"answer":{"type":"string","description":"Optional: a short version of your reply, noted on the timeline with the query."},"limit":{"type":"number","description":"Max timeline events to return on the first call (default 25, max 50)."},"types":{"type":"string","description":"Optional comma-separated event types: call,email,note,task,sms,resource (custom records such as customer instructions)."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Search contact activity","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"search_docs","title":"Search docs","description":"Search the Voice Logica product docs (docs.voicelogica.ai). Use it for any how-to or where-is question about the product before answering: e.g. how to enable task creation, set up transfers, give someone a SIP or iOS seat, connect a calendar. Returns the best matching doc sections with their text and url. Answer from the excerpts and give the user the url. Searches the Greek docs when the query is in Greek; pass language to force one. Rephrase with the names of screens or buttons when nothing matches.","inputSchema":{"type":"object","properties":{"query":{"type":"string","description":"The question or keywords, e.g. \"enable task creation\" or \"buy seats\"."},"language":{"type":"string","description":"Optional: \"en\" or \"el\". Defaults to the language of the query."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["query"]},"annotations":{"title":"Search docs","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"search_knowledge","title":"Search knowledge","description":"Ask a knowledge file a question the way a LIVE CALL would and see which rows come back, ranked. Read-only. Runs the same embedding and the same 0.87 similarity floor the phone agent uses, so what surfaces here is what the agent would retrieve. Use it to check WHY an agent answered wrongly: if it quoted the wrong price, search for that price question and look at which row ranks first. Far cheaper than running a test call, and it distinguishes the two failures that look identical from outside — the knowledge being wrong (no row has the right answer) versus retrieval being wrong (the right row exists but a different one outranks it). Returns each row with its score, its question and answer, and the page it came from.","inputSchema":{"type":"object","properties":{"knowledgeFileId":{"type":"string","description":"Knowledge file id (from list_knowledge_files). Omit it to search every knowledge file of the company."},"query":{"type":"string","description":"The caller question to test, phrased the way a caller would say it — in the language the agent answers in."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["query"]},"annotations":{"title":"Search knowledge","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"send_call_follow_up","title":"Send call follow up","description":"Send one call follow-up to the caller, after the user approved its text and recipient: by email (company mailbox, logged on the contact with opens and clicks) or by SMS (from smsSender, or `smsSender` = one of smsSenders, e.g. their own mobile). With `page`, a hosted page is created and its link replaces {{pageUrl}} in the body. Take kind, channel, destination, subject, body and page from get_call_follow_up.","inputSchema":{"type":"object","properties":{"kind":{"type":"string","enum":["information","summary_page","call_page","faq_sms"]},"channel":{"type":"string","enum":["email","sms"]},"destination":{"type":"string","description":"Email address or phone number","minLength":3},"subject":{"type":"string","description":"Email subject (email only)","maxLength":300},"body":{"type":"string","description":"Email: light markdown or HTML. SMS: plain text; {{pageUrl}} becomes the page link (added at the end when missing)","minLength":1,"maxLength":10000},"page":{"type":"object","description":"Hosted page to send with it; its link replaces {{pageUrl}}","properties":{"title":{"type":"string","minLength":1,"maxLength":200},"content":{"type":"string","description":"Light markdown; ## groups, ### starts a card","maxLength":50000},"faqsTitle":{"type":"string","maxLength":120},"faqs":{"type":"array","description":"The questions and answers to show; drop the ones the caller should not get","items":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":500},"answer":{"type":"string","minLength":1,"maxLength":4000},"links":{"type":"array","items":{"type":"string","format":"uri"}}},"required":["question","answer"]}},"transcript":{"type":"object","description":"The conversation (call_page); omit to leave it out","properties":{"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":80000}},"required":["title","text"]}},"required":["title","content"]},"mailboxId":{"type":"string","description":"Email only, when the company has several mailboxes"},"smsSender":{"type":"string","description":"SMS only: a senderId from smsSenders (get_call_follow_up), e.g. the company sender or the user's own mobile. Omit for smsSender.","maxLength":20},"callId":{"type":"string","description":"The call: its id or callId from get_calls"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["kind","channel","destination","body","callId"]},"annotations":{"title":"Send call follow up","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"send_call_instruction","title":"Send call instruction","description":"Voice Logica admins, or an API key with the call.send_call_instruction scope (e.g. a fraud-detection partner): tell the AI on a LIVE call what to do now. The message goes into the AI's instructions only (never the transcript, never read out word for word); the AI acts on it at once in its own words and the call's language, e.g. warns the caller about a scam. Optional type, severity, confidence are kept in the call log. Fails when the call has ended, is not answered yet, or has no AI on it. Same as POST /phones/calls/{callId}/instructions.","inputSchema":{"type":"object","properties":{"message":{"type":"string","description":"What the AI should do or say now, e.g. \"Warn the caller: someone asking for an OTP code while posing as the bank is a known scam.\" Only the AI sees it.","minLength":1,"maxLength":2000},"type":{"type":"string","description":"Category, e.g. possible_scam","maxLength":100},"severity":{"type":"string","description":"e.g. warning, high, critical","maxLength":30},"confidence":{"type":"number","minimum":0,"maximum":1},"callId":{"type":"string","description":"Our call id (get_calls, or callId in the call stream start / call.started event).","minLength":1},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["message","callId"]},"annotations":{"title":"Send call instruction","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"set_ai_platform_transcription","title":"Set AI platform transcription","description":"Needs the \"Allow SIP Trunking\" plan feature (listed only when the company has it; Voice Logica admins always): turn the transcript and analysis of a line's AI platform calls on or off. It covers the calls ElevenLabs, Vapi or Retell place through this trunk (set_trunk_external_access) and the calls the line sends to a SIP URI agent (destinationType sip_uri). On by default: those calls are transcribed and analysed by the company's analysis agent (summary etc.), using analysis minutes as well as trunk minutes; when the company has no analysis minutes left they go through untranscribed on trunk minutes only. enabled:false: never transcribed, trunk minutes only. Without trunk minutes the calls are refused either way. get_sip_trunks shows the current value as aiPlatformTranscription.","inputSchema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"true: transcribe and analyse this line's AI platform calls (placed through it, or sent to a SIP URI agent) while the company has analysis minutes; false: never (trunk minutes only)."},"sipTrunkId":{"type":"string","description":"The trunk (get_sip_trunks).","minLength":1},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["enabled","sipTrunkId"]},"annotations":{"title":"Set AI platform transcription","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"set_call_recording","title":"Set call recording","description":"During a live call of the signed-in user (their own call only): pause or resume the recording, or turn post-call analysis off or on for that call. paused: true pauses the recording and the live transcript (nothing is recorded, transcribed or analysed until resumed, and paused time costs no analysis minutes), like the keypad code **1; paused: false resumes (or starts an on-demand recording), like **2. analyze: false = no summary or analysis after this call. Pass neither to read the current state. Refused when the company decides recording for everyone. callId from get_calls (the live call). Returns { paused, analyze }.","inputSchema":{"type":"object","properties":{"callId":{"type":"string","description":"The live call (its id from get_calls)."},"paused":{"type":"boolean","description":"true = pause recording, false = resume."},"analyze":{"type":"boolean","description":"false = no post-call analysis for this call, true = back on."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["callId"]},"annotations":{"title":"Set call recording","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"set_contact_company_stage","title":"Set contact company stage","description":"Move a company record to another pipeline stage (stage keys from crm_query action \"list_pipeline_stages\"). The move is logged with who and when.","inputSchema":{"type":"object","properties":{"contactCompanyId":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"},"stageKey":{"type":"string","minLength":1,"maxLength":60},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["contactCompanyId","stageKey"]},"annotations":{"title":"Set contact company stage","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"set_trunk_call_stream","title":"Set trunk call stream","description":"Send every call on one of the company trunks to a partner for live analysis (e.g. fraud detection). audioUrl (ws/wss): each call opens one connection with \"Authorization: Bearer <token>\", sends a JSON \"start\" message, then binary frames (1 byte side: 0 caller, 1 the other side, then 20 ms of PCM 16-bit LE 8 kHz) and a JSON \"stop\" at the end. eventsUrl (http/https): call.started (on answer) and call.ended are POSTed there with the same token. The partner sends instructions to the live AI with POST /phones/calls/{callId}/instructions (MCP send_call_instruction; API key scope call.send_call_instruction). Omitted fields keep their value; \"\" turns one off (token \"\" removes it).","inputSchema":{"type":"object","properties":{"audioUrl":{"type":"string","description":"WebSocket each call's audio is streamed to, e.g. wss://partner.example.com:8443/stream. Empty stops streaming.","maxLength":500},"eventsUrl":{"type":"string","description":"call.started (on answer) and call.ended are POSTed here as JSON. Empty stops them.","maxLength":500},"token":{"type":"string","description":"Sent as \"Authorization: Bearer <token>\" on the stream and the events. Empty removes it.","maxLength":500},"sipTrunkId":{"type":"string","description":"The trunk (get_sip_trunks).","minLength":1},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["sipTrunkId"]},"annotations":{"title":"Set trunk call stream","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"set_trunk_external_access","title":"Set trunk external access","description":"Needs the \"Allow SIP Trunking\" plan feature (listed only when the company has it; Voice Logica admins always): let other systems (ElevenLabs, Vapi, Retell or any SIP system) place calls through an existing trunk at its SIP URI sip:<number>@<trunkId>.sip.voicelogica.ai, with their own login (separate from the carrier's). Their calls go out through this trunk with its numbers and carrier; their SIP REFER transfers are dialled by us. enabled:true makes a login when there is none (regenerate:true replaces it) and returns the password once; reveal:true (with enabled:true) returns the current password again; enabled:false refuses them. On the platform: outbound address = the returned address, TCP, this username and password. To send a number's calls TO their agent, route the number (telephony_execute create_inbound_route / update_inbound_route) with destinationType \"sip_uri\" and destinationId like sip:{number}@sip.rtc.elevenlabs.io;transport=tcp.","inputSchema":{"type":"object","properties":{"enabled":{"type":"boolean","description":"true lets other systems place calls through this trunk with their own login; false refuses them."},"regenerate":{"type":"boolean","description":"true makes a new username and password (the old ones stop working)."},"reveal":{"type":"boolean","description":"true (with enabled true) returns the current password again, unchanged."},"sipTrunkId":{"type":"string","description":"The trunk (get_sip_trunks).","minLength":1},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["enabled","sipTrunkId"]},"annotations":{"title":"Set trunk external access","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"set_user_default_extension","title":"Set user default extension","description":"Set the company a multi-company user calls from in the Windows app and the Chrome extension, by making one of their own enabled extensions their default (the \"Company\" picker). Get the extension id from get_user_extensions. The web app does not move: it stays in the company it is in. Incoming calls keep ringing on all their extensions. Allowed for the user themselves, or an admin who manages every company the user belongs to. Omit userId for yourself. Returns the extensions grouped by company.","inputSchema":{"type":"object","properties":{"userId":{"type":"string","description":"The user id (omit for yourself)"},"userEndpointId":{"type":"string","description":"One of the user's own enabled extensions (from get_user_extensions)"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["userEndpointId"]},"annotations":{"title":"Set user default extension","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"set_user_mobile_company","title":"Set user mobile company","description":"Set the company where a user's mobile calls land (Noema app, calls forwarded from their mobile). The agent that analyses them follows that company's Call settings: the user's own override there, else the company default. Mobile calls never follow the company the user switches to. Must be one of the user's companies. Allowed for the user themselves, or an admin who manages every company the user belongs to. Omit userId for yourself.","inputSchema":{"type":"object","properties":{"userId":{"type":"string","description":"The user id (omit for yourself)"},"mobileCompanyId":{"type":"string","description":"Company for the user's mobile calls"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["mobileCompanyId"]},"annotations":{"title":"Set user mobile company","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"set_user_presence","title":"Set user presence","description":"Set a team member's status on their line in this company: online, away or dnd (Do not disturb). Away / DND: their apps (Windows, Chrome extension, web) don't ring, user groups skip them, and the AI agent doesn't transfer callers to them (it offers to take a message). It stays until they or an admin change it; their apps remind them every 30 minutes. Only while the member is signed in to an app: offline / busy / in a call come from the apps themselves and can't be set. Needs Phones edit access. Omit userId for yourself.","inputSchema":{"type":"object","properties":{"userId":{"type":"string","description":"The team member (omit for yourself)"},"status":{"type":"string","enum":["online","away","dnd"],"description":"online, away or dnd"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["status"]},"annotations":{"title":"Set user presence","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"set_yuboto_extension_members","title":"Set yuboto extension members","description":"Save which team member uses which Yuboto PBX extension (web app: Integrations → Yuboto PBX → Show details → Extensions). Replaces the whole list: read it with get_yuboto_extension_members first and send it back with your change; [] clears it. One member per extension; a member may have several extensions. userId is a team member of this company (query_user_action, action \"list_users\"). Applies to PBX calls recorded from now on; earlier calls keep their owner.","inputSchema":{"type":"object","properties":{"members":{"type":"array","items":{"type":"object","properties":{"extension":{"type":"string"},"userId":{"type":"string"}},"required":["extension","userId"]},"description":"The full list of { extension, userId }. extension is the PBX extension number (2-6 digits, e.g. \"106\")."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["members"]},"annotations":{"title":"Set yuboto extension members","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"switch_company","title":"Switch company","description":"Switch the active company context for all subsequent tool calls in this request. After switching, all tools (agents, calls, campaigns, etc.) will operate on the target company. Requires admin/super-admin access, the reseller module, or account-manager access. Account managers can only switch to their own companies, demo companies, or companies they have an active access grant for — for any other company, call team_execute (action \"request_company_access\") first. Use list_companies first to find available company IDs.","inputSchema":{"type":"object","properties":{"companyId":{"type":"string","description":"The ID of the company to switch to"}},"required":["companyId"]},"annotations":{"title":"Switch company","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"tasks_execute","title":"Tasks execute","description":"Change actions for tasks: update_task_settings, update_task, delete_task. Inputs: tasks_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Tasks execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"tasks_query","title":"Tasks query","description":"Tasks beyond the everyday (list_tasks, create_task and complete_task stay their own tools): reschedule a task, add a note to it, change its priority or cancel it; delete a task for good; task emails on or off for you or a colleague, which task kinds the agent creates by itself after calls, and the in-call Schedule Callback tool with its per-caller limit. Read actions: get_task_settings. Changes run with tasks_execute, not here. Write actions: update_task_settings, update_task, delete_task. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Tasks query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"team_execute","title":"Team execute","description":"Change actions for team: invite_member, revoke_invitation, remove_member, leave_company, set_user_seat, buy_seats, request_company_access, grant_company_access, approve_access_request, deny_access_request, update_access_grant, revoke_access_grant. Inputs: team_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Team execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"team_query","title":"Team query","description":"Company members and their phone seats: list members and pending invitations, invite or revoke, remove a member, leave one of your own companies, see seats per device (SIP, Windows app, mobile) and buy more, give or take a user's seat, request access to another company (account managers), and for approvers: list, approve or deny access requests, grant an account manager access directly, change or revoke grants. Read actions: list_company_users, list_invitations, get_seats, list_access_requests, list_access_grants. Changes run with team_execute, not here. Write actions: invite_member, revoke_invitation, remove_member, leave_company, set_user_seat, buy_seats, request_company_access, grant_company_access, approve_access_request, deny_access_request, update_access_grant, revoke_access_grant. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Team query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"telephony_execute","title":"Telephony execute","description":"Change actions for telephony (inputs: telephony_query without action): add_numbers, update_number, remove_number, create/update/delete_inbound_route, create/update/delete_office_hours_rule, create/update/delete_holiday, add_greek_holidays (the Greek public holidays of a year), create/update/delete_outbound_route, send_device_setup, update_call_settings (recording, analysis, fallbacks, knowledge assist), update_user_call_settings (a user's knowledge assist, translation, chat support, recording override, When unavailable fallback, the lines and caller IDs they call out with), move_sip_trunk (to another company; targets: telephony_query list_sip_trunk_move_targets). Confirm deletions and moves with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (telephony_query only) to list the actions with their inputs.","minLength":1,"maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Telephony execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"telephony_query","title":"Telephony query","description":"Phone numbers, inbound routes (which agent, user or group answers each number, after hours and holidays), outbound routes (which trunk and caller ID carry outgoing calls), sending a team member their device setup, company Call settings and each user's phone settings. Read actions: list_numbers, list_inbound_routes, get_inbound_route, list_office_hours_rules, get_office_hours_rule, list_holidays, list_outbound_routes, get_outbound_route, get_call_settings, get_user_call_settings. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (telephony_query only) to list the actions with their inputs.","minLength":1,"maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Telephony query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"test_in_browser","title":"Test in browser","description":"Get a link where the user talks to their AI agent by voice or chat in the browser, plus the embed code that puts the same chat on their website. Works in every country with no phone. Turns on the agent's website widget if it is off, limited to the business's own website.","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","description":"Optional: the agent to test (from get_agents). Omit for the default agent."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Test in browser","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"test_workflow","title":"Test workflow","description":"Test a workflow by running it synchronously and returning the results from each node. Returns success (false when any node failed), nodeResults (each node that ran, in order, with its output or error; a branch that is missing never ran, so check the switch conditions), the final arguments, and variables: every {{placeholder}} the nodes reference with where its value came from (call / contact / payload / node, or missing when nothing supplied it — the usual reason a switch or if node took its default branch). Use this to validate a workflow after building or modifying it. Pass workflowVersionId (from versions_query (action \"list_workflow_versions\")) to test a saved numbered version instead of the live workflow. For call triggers (onCallEnd, onCallStart, etc.) pass payload.call.id = a real MongoDB call id and the real call.* variables (dialogue, summary, postAnalysisResults, dynamic/super variables) are hydrated from that call, exactly like a real run. Without a call id, payload.call.phone_number is matched to a contact in the company and the stored dynamic variables of that contact are hydrated as the base layer, so a workflow branching on contact data can be tested from a phone number alone. NOTE: this runs synchronously, so a managed-agent (AI) node does NOT execute here — it is dispatched to an async worker; to see what a managed-agent actually did, trigger the flow on a real call and inspect it with get_managed_agent_sessions.","inputSchema":{"type":"object","properties":{"workflowId":{"type":"string","description":"The ID of the workflow to test"},"triggerType":{"type":"string","description":"Trigger type to test (defaults to the first trigger's type)"},"triggerId":{"type":"string","description":"Specific trigger ID to test"},"payload":{"type":"object","description":"Test payload data as key-value pairs"},"workflowVersionId":{"type":"string","description":"Stored workflow version id (from versions_query (action \"list_workflow_versions\")) to test instead of the live workflow"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["workflowId"]},"annotations":{"title":"Test workflow","readOnlyHint":false,"destructiveHint":false,"openWorldHint":true}},{"name":"tickets_execute","title":"Tickets execute","description":"Change actions for tickets: reply_to_ticket. Inputs: tickets_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Tickets execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"tickets_query","title":"Tickets query","description":"Support tickets (create_ticket stays its own tool): list tickets, read one, reply to it. Read actions: list_tickets, get_ticket. Changes run with tickets_execute, not here. Write actions: reply_to_ticket. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Tickets query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"transcribe_audio","title":"Transcribe audio","description":"Transcribe one piece of audio with several STT providers and compare the results side by side. Source is either callId (transcribes that call's stored recording — the usual case, real audio you already have) or audioBase64 (base64 of an audio FILE such as wav/mp3, with optional filename for the extension); provide exactly one. Params: providers (required, 1-6, e.g. [\"soniox\",\"elevenlabs\",\"google_v1\"]), optional localeCode and agentId for language/baseline settings. Each provider runs independently through the same factory the live calls use, so one failing returns an error on that row while the others still produce transcripts. Returns one row per provider with text, segments and elapsedMs. No URL input by design — see the DTO note on SSRF.","inputSchema":{"type":"object","properties":{"callId":{"type":"string","description":"MongoDB id of a call whose stored recording should be transcribed. Either this or audioBase64."},"audioBase64":{"type":"string","description":"Base64 of an audio FILE (wav/mp3), not raw PCM. Either this or callId."},"filename":{"type":"string","description":"Original filename for audioBase64; only the extension is used, to pick the decoder. Defaults to .wav"},"providers":{"type":"array","description":"Providers to run, e.g. [\"soniox\",\"elevenlabs\",\"google_v1\"]. Each is run independently; one failing does not stop the others.","items":{"type":"string","enum":["microsoft","google","fireworks","speechmatics","openai","assemblyai","deepgram","google_v1","google_v2","elevenlabs","voicelogica","soniox"]}},"localeCode":{"type":"string","description":"Language override, e.g. \"el-GR\". Defaults to the agent/company language."},"agentId":{"type":"string","description":"Agent whose language and transcription settings provide the baseline. Defaults to a company agent."},"referenceText":{"type":"string","description":"Human-verified transcript of this audio. When given, every provider is scored against it (WER plus substitutions/deletions/insertions and sample diffs), turning the comparison from eyeballing into a measurement. Must be a corrected transcript — a previous provider's output is not ground truth."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["providers"]},"annotations":{"title":"Transcribe audio","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}},{"name":"update_agent_settings","title":"Update agent settings","description":"Change one section of an agent's settings. Pass only the fields to change; everything else keeps its value. For the prompt use edit_agent_prompt.","inputSchema":{"type":"object","properties":{"agentId":{"type":"string","description":"Agent id. Omit for the default agent.","maxLength":64},"agentVersionId":{"type":"string","description":"A saved version (list_agent_versions) to read or change instead of the live agent; production is not touched, except that a version whose production window answers the calls (get_agent_settings answeringVersion) is heard right away. The id of the published version means the live agent. Not for widget and ai_disclosure (live only) or pronunciation (company-wide).","maxLength":64},"section":{"type":"string","description":"The section to change.","enum":["welcome","voice","languages","transfer","end_call","interruption","memory","analysis","outbound","notifications","appointments","ai_disclosure","standby","tools","workflows","pronunciation","transcription","widget"]},"changes":{"type":"object","description":"Only the fields to change; the rest keep their values. Field names: get_agent_settings with format: true. Lists replace the whole list, except analysis.analysisProperties, which merges by name: send only the properties to add or change; removeAnalysisProperties: [names] deletes, replaceAnalysisProperties: true writes the list exactly as sent. The answer names any list items that were removed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["section","changes"]},"annotations":{"title":"Update agent settings","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"update_call_llm_instructions","title":"Update call LLM instructions","description":"Instructions a team member left for an AI assistant after a call (dictated on the phone once the other side hung up, or typed in the call detail), e.g. «send Giorgos the offer, call him back Tuesday». Find the open ones with get_calls llmInstructionsStatus \"pending\" (each call returns llmInstructions with the summary). Carry out what they say with the other tools, including sending the email or SMS to the client they ask for, then mark each one: done with result (exactly what you did and to whom, one or two lines in the language of the team member), or dismiss when there is nothing to do, so no run handles it twice. When the recipient or a name, number or amount you would send is unclear in the dictation, send nothing for that item: ask the team member with action ask (text = one clear question, in their language). They see it in the app as a chat with you and reply there; the instructions are then waiting, so no run picks them up, and their reply makes them pending again with llmInstructions.messages holding the whole conversation (the instructions, your question, their reply): read it and carry on from there, do not ask the same thing twice. Also: set (write or replace the instructions, pending again), append (add to them), reopen, delete.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"set: write the instructions (text); append: add text after the ones already there and make them pending again (also how a team member replies to a question); ask: you need something from the team member before you can act (text = one clear question; status becomes waiting until they reply); done: you acted on them (result required); dismiss: nothing to do; reopen: pending again; delete: remove them","enum":["set","append","ask","done","dismiss","reopen","delete"]},"text":{"type":"string","description":"With set or append: the instructions. With ask: your question to the team member, in their language","minLength":1,"maxLength":4000},"result":{"type":"string","description":"With done (required) or dismiss: what you did, or why there was nothing to do, one or two lines in the language of the team member","minLength":1,"maxLength":2000},"callId":{"type":"string","description":"The call: its id or callId from get_calls"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["action","callId"]},"annotations":{"title":"Update call LLM instructions","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"update_caller_card_settings","title":"Update caller card settings","description":"Change one connected integration on the caller card (web app: Integrations → Caller card): show it on the card, open the caller's record by itself (off, on_answer = when the user answers, on_ring = as soon as it rings; the Windows app and Chrome extension open on ring, the browser panel on Answer), and make it primary (first button, and the one that opens by itself). primary: true clears primary on every other integration and custom link. Only the fields you pass change. Get integrationKeyId from get_caller_card_settings. This changes it for everyone; for one person's own primary or auto-open (\"for me\") use execute_mine set_caller_card_preferences.","inputSchema":{"type":"object","properties":{"integrationKeyId":{"type":"string","description":"The integration's integrationKeyId from get_caller_card_settings."},"showCard":{"type":"boolean","description":"Look the caller up in this integration and show it on the card."},"autoOpen":{"type":"string","enum":["off","on_answer","on_ring"],"description":"off | on_answer | on_ring. Only for integrations with canOpenRecord."},"primary":{"type":"boolean","description":"true makes it the primary; false clears it (the card then opens on the first integration that knows the caller)."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["integrationKeyId"]},"annotations":{"title":"Update caller card settings","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"update_campaign","title":"Update campaign","description":"Update campaign settings. Required: campaignId (or id). Omitted fields stay unchanged. Can change name, description, schedule, timezone, retries, retryDelayMinutes, retrySchedule, maximumConcurrentCalls, agentId, sipTrunkIds, verifiedCallerId, defaultCallerIds, appointmentServiceKeys, promptSection, welcomeMessage, dynamicWelcomeMessage, welcomeInstructions, hangupAfterWelcome (announcement only: hang up once the fixed welcomeMessage has played),knowledgeFileIds, leadLanguages, voices, notificationSettings, userSettings, stages, maxRetriesFollowUp, analysisProperties, acceptDynamicVariables, leadColumns, allowedPhoneNumbers and defaultCampaign. Purpose cannot be changed — create a new campaign for a different goal. After each call one of two paths runs: NOBODY PICKED UP → call back up to `retries` times every `retryDelayMinutes` (or growing waits from `retrySchedule`), then send `maxRetriesFollowUp` (SMS/email) once; SOMEONE PICKED UP → the AI records one of `stages`, which either ends the lead or retries, and can SMS/email via stage.followUp. With stages there is ONE cap per lead, not a sum: the first call plus the larger of `retries` and the highest retry-stage maxRetries; unanswered calls and stage call-backs both count toward it. A callback the person asked for is always made, but counts as one of the lead's calls. On a running campaign new values apply from the next run; a lead already waiting for a set time (scheduled retry or callback) keeps it, and raising `retries` does not reopen leads already at reachedMaxRetries. To add or change one stage, call campaigns_query (action \"get_campaign\") first and send the full stages list back (it replaces). schedule is { days, timeZone, runEverySeconds } or a days array; each day is { day, runFromTime: { hours, minutes }, runToTime: { hours, minutes } }. Use campaigns_execute (action \"pause_campaign\") or campaigns_execute (action \"resume_campaign\") for status; confirm with the user before resuming. Ask the user before raising retries above 3 or setting retryDelayMinutes below 240.","inputSchema":{"type":"object","properties":{"campaignId":{"type":"string","description":"ID of the campaign to update. Required unless id is provided."},"id":{"type":"string","description":"Alias for campaignId"},"name":{"type":"string","description":"New display name for the campaign","minLength":1},"description":{"type":"string","description":"Updated campaign purpose and goals"},"retries":{"type":"integer","description":"Call-backs after the first call when nobody answers: busy, voicemail, no answer or failed to connect (0-10, default 3). A lead gets at most retries + 1 calls; with retry stages the cap is shared (first call + the larger of retries and the highest stage maxRetries).","minimum":0,"maximum":10},"maximumConcurrentCalls":{"type":"number","description":"Maximum number of simultaneous calls (1-100)","minimum":1,"maximum":100},"retryDelayMinutes":{"type":"integer","description":"Minutes to wait between call-backs when nobody answers. Default 240 (4 hours); allowed 60-40320 (1 hour to 4 weeks). Ask the user before setting it below 240. A lead already waiting for a set time keeps it; the new delay applies to its next call.","minimum":60,"maximum":40320},"retrySchedule":{"type":"object","description":"Growing no-answer waits: { stepsMinutes: [wait before call-back 1, 2, …], thenEveryMinutes? (each later one; default the last step) }, e.g. 1h, 1d, 4d then daily = { stepsMinutes: [60, 1440, 5760], thenEveryMinutes: 1440 }. Overrides retryDelayMinutes; retries still caps the count. null = one fixed wait. Retry stages take the same retrySchedule (30-10080 each).","properties":{"stepsMinutes":{"type":"array","description":"Minutes before call-back 1, 2, 3… (60-40320 each)","items":{"type":"integer","minimum":60,"maximum":40320}},"thenEveryMinutes":{"type":"integer","description":"Minutes before each call-back after the listed ones (default: the last one again)","minimum":60,"maximum":40320}},"required":["stepsMinutes"]},"schedule":{"type":"object","description":"Campaign hours. Send { days, timeZone, runEverySeconds } — days is [{ day, runFromTime: { hours, minutes }, runToTime: { hours, minutes } }]. A bare days array is accepted (same as { days: [...] }). REPLACES days when provided; omitted keys stay unchanged.","properties":{"days":{"type":"array","description":"Days of the week and hours of the day to run the campaign. Same weekday may appear more than once (split shifts).","items":{"type":"object","properties":{"runFromTime":{"type":"object","description":"Start of the campaign calling window on this day. Independent of the company operating hours: a campaign may call after the company closes","properties":{"hours":{"type":"number","minimum":0,"maximum":23},"minutes":{"type":"number","minimum":0,"maximum":59}},"required":["hours","minutes"]},"runToTime":{"type":"object","description":"End of the campaign calling window on this day (e.g. 20:00 while the company closes at 17:00)","properties":{"hours":{"type":"number","minimum":0,"maximum":23},"minutes":{"type":"number","minimum":0,"maximum":59}},"required":["hours","minutes"]},"day":{"type":"string","description":"Day of the week","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]}},"required":["runFromTime","runToTime","day"]}},"timeZone":{"type":"string","description":"IANA time zone, e.g. Europe/Athens"},"runEverySeconds":{"description":"How often the campaign checks for leads to call, in seconds: 60, 300, 900, 1800, 3600, 7200, 14400, 28800, 57600 or 86400. Use 60 unless asked otherwise."}}},"timezone":{"type":"string","description":"IANA time zone, e.g. Europe/Athens"},"agentId":{"type":"string","description":"ID of the AI agent to use for this campaign"},"sipTrunkIds":{"type":"array","description":"SIP trunks to dial out from. Get IDs from get_sip_trunks (MCP) or POST /phones/sip-trunks/query (REST). REPLACES the whole list.","items":{"type":"string"}},"defaultCallerIds":{"type":"array","description":"Pool of numbers presented to people called, for leads without their own callerId. REPLACES the whole list.","items":{"type":"string","maxLength":20}},"appointmentServiceKeys":{"type":"array","description":"Appointment campaigns only: serviceKeys from the agent's appointmentSettings.services that this campaign books. Omitted, a lead is treated as already booked when ANY upcoming calendar event carries their phone number or email; with services set, the event must also name one of them, so a lead booked for a different service is still called.","items":{"type":"string"}},"promptSection":{"type":"string","description":"Campaign call instructions injected into the agent context at the start of every campaign call (max 5000 characters; facts belong in knowledge)","maxLength":5000},"dynamicWelcomeMessage":{"type":"boolean","description":"When true, campaign calls open with an AI-generated greeting from the campaign goal and lead context instead of the agent's fixed welcome. Each such call is billed with a 10-second minimum, even if unanswered."},"welcomeMessage":{"type":"string","description":"Static opening spoken on every campaign call instead of the agent welcome. Used only when dynamicWelcomeMessage is not true. Send \"\" to fall back to the agent welcome.","maxLength":2000},"hangupAfterWelcome":{"type":"boolean","description":"Announcement only: true hangs up each call as soon as the fixed welcomeMessage has played, with no conversation and no wait for the callee to speak (one-way notices). Needs a welcomeMessage; ignored when dynamicWelcomeMessage is true. Inbound calls of the agent are not affected."},"welcomeInstructions":{"type":"string","description":"Instructions the AI follows when it writes the opening of each call. Used only when dynamicWelcomeMessage is true. Variables such as {{greeting}}, {{name}} and lead fields are filled in per lead. Send \"\" to let the AI decide the opening.","maxLength":8000},"knowledgeFileIds":{"type":"array","description":"Knowledge files the campaign calls use instead of the agent files (ids from knowledge_query). Empty = the agent own files. Send [] to go back to the agent files.","items":{"type":"string","pattern":"^[0-9a-fA-F]{24}$"}},"leadLanguages":{"type":"array","description":"Languages a lead of this campaign may start the call in (the agent primary language or its enabled secondary languages, each with its own voice). Set the language per lead; empty = every lead starts in the agent primary language. Send [] to turn it off.","items":{"type":"string","description":"Locale code","enum":["ar-AE","ar-BH","ar-EG","ar-KW","ar-OM","ar-QA","ar-SA","ar-LB","ar-MA","el-GR","en-US","es-ES","fr-FR","el-CY","en-DK","he-IL","bg-BG","ru-RU","de-DE","it-IT","pt-PT","ru-RU","tr-TR","zh-CN","ja-JP","ko-KR","ja-JP","ar-SA","hi-IN","bn-BD","pa-IN","ta-IN","te-IN","ur-IN","vi-VN","th-TH","id-ID","ms-MY","fil-PH","nl-NL","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","zh-MO","zh-SG","zh-CH","zh-CHT","zh-CHS","zh-CHT","ro-RO","hu-HU","pl-PL","sr-RS","mk-MK","bg-BG","uk-UA","en-GB","en-AU","en-CA","en-NZ","en-ZA","en-IN","en-IE","en-PH","en-SG","en-HK","en-MO","en-CN","en-TW","en-MY","nl-BE","de-AT","de-CH","sv-SE","no-NO","da-DK","fi-FI","is-IS","gl-ES","ca-ES","eu-ES","pt-BR","zh-TW","zh-HK","cs-CZ","sk-SK","sl-SI","hr-HR","lt-LT","lv-LV","et-EE","mt-MT","lb-LU","sq-AL","bs-BA","ca-AD","fr-MC","it-SM","it-VA","ur-PK"]}},"voices":{"type":"array","description":"Instead of the agent voice. 1 voice: all calls. 2-5: each lead keeps one random voice; get_campaign_results byVoice compares them. [] = the agent voice","items":{"type":"object","properties":{"voiceProvider":{"type":"string","description":"list_voices","enum":["microsoft","openai","google","elevenlabs","deepgram","minimax","murf","voicelogica","soniox","grok","gemini"]},"voiceId":{"type":"string","minLength":1,"maxLength":200},"modelId":{"type":"string","description":"ElevenLabs only; omitted = the agent one","enum":["eleven_flash_v2_5","eleven_turbo_v2_5","eleven_multilingual_v2","eleven_v3","eleven_v4","eleven_v4_turbo"]},"name":{"type":"string","description":"Label in the results","maxLength":80}},"required":["voiceProvider","voiceId"]}},"notificationSettings":{"type":"object","description":"Email notifications for campaign events. REPLACES the whole object when provided.","properties":{"enabled":{"type":"boolean","description":"Whether to email campaign notifications"},"emails":{"type":"array","description":"Addresses that receive campaign notifications","items":{"type":"string","format":"email"}}}},"defaultCampaign":{"type":"boolean","description":"true makes this the company's default campaign and unsets the previous one."},"userSettings":{"type":"object","description":"Human campaign seats: assigned users, dispatch strategy, and AI overflow. Users join from the Windows app (POST /campaigns/:id/join) or by dialing the campaign extension.","properties":{"userIds":{"type":"array","description":"Company users who dial into the campaign and take leads","items":{"type":"string"}},"dispatchStrategy":{"type":"string","description":"How the next lead is given to a waiting user. random: any free user; least_answered: the user with the fewest leads this session; round_robin: fixed rotation, the user whose last lead was given longest ago (equal count per user); longest_waiting: the user who has been free the longest since their last lead ended (shares the load when call lengths differ)","enum":["random","least_answered","round_robin","longest_waiting"]},"overflowToAi":{"type":"boolean","description":"If a live lead cannot attach to an online assigned user, send it to the campaign AI. Omitted: off when userIds is set on create, unchanged on update. Leads are not dialed unless an assigned user is online."},"wrapUpSeconds":{"type":"integer","description":"Seconds after a lead hangup before the user can take another lead","minimum":0,"maximum":300},"restrictDialIn":{"type":"boolean","description":"When true, only listed userIds may dial the campaign extension"},"maskPhoneNumbers":{"type":"boolean","description":"When true, team members see this campaign's lead and call numbers masked (69•• ••• 1234); admins and API keys still see them. Default false"}}},"stages":{"type":"array","description":"What the AI records after someone picks up. REPLACES the whole list — call get_campaign first and send back every stage you want to keep. Each stage: { name (lowercase_snake, unique), displayName?, description (when the AI should pick it), nextAction, followUp? }. nextAction: \"success\" | \"failed\" | \"other\" end the lead (no more calls); \"retry\" calls back later and then also needs maxRetries (\"Calls on this stage\" in the app, 1-10, counting the call that put the lead there: Try later set to 5 = up to 4 more calls; 1 = no call-back) and retryIntervalMinutes (30-10080 = 30 minutes to 1 week). retryIntervalMode \"ai\" (+ optional retryIntervalInstructions) lets the analysis pick the wait; retryIntervalMinutes is then the fallback. The campaign has one cap per lead, not a sum: the first call plus the larger of `retries` and the highest retry-stage maxRetries. followUp sends a message the moment the AI picks this stage: { sms?: { to, body }, email?: { to, subject, body } }. to/subject/body accept {{variables}} — sms.to is usually \"{{lead.phone_number}}\", email.to \"{{lead.email}}\". Example: [{ \"name\": \"booked\", \"displayName\": \"Booked\", \"description\": \"They agreed a date and time\", \"nextAction\": \"success\", \"followUp\": { \"sms\": { \"to\": \"{{lead.phone_number}}\", \"body\": \"Thanks! See you soon.\" } } }, { \"name\": \"call_later\", \"displayName\": \"Try later\", \"description\": \"They asked us to call back another time\", \"nextAction\": \"retry\", \"maxRetries\": 2, \"retryIntervalMinutes\": 1440 }]","items":{}},"maxRetriesFollowUp":{"type":"object","description":"Email and/or SMS sent when the AI assigns this stage","properties":{"sms":{"type":"object","properties":{"to":{"type":"string","description":"Recipients, comma-separated. Default {{lead.phone_number}}","default":"{{lead.phone_number}}","minLength":1,"maxLength":500},"body":{"type":"string","description":"SMS text","minLength":1,"maxLength":1600},"sender":{"type":"string","description":"Verified sender ID; omit for automatic (get_campaign_sms_sender)","maxLength":11}},"required":["body"]},"email":{"type":"object","properties":{"to":{"type":"string","description":"Recipients, comma-separated. Default {{lead.email}}","default":"{{lead.email}}","minLength":1,"maxLength":1000},"subject":{"type":"string","minLength":1,"maxLength":300},"body":{"type":"string","minLength":1,"maxLength":10000}},"required":["subject","body"]}}},"analysisProperties":{"type":"array","description":"Campaign analysis fields, filled after each call of this campaign on top of the agent's own (same name: the campaign's wins). REPLACES the whole list. Omit on create to get the goal's default fields.","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"displayName":{"type":"string"},"index":{"type":"integer","minimum":0},"description":{"type":"string"},"aiGenerated":{"type":"boolean"},"type":{"type":"string","enum":["string","number","boolean","array","date","time","enum","object"]},"arrayType":{"type":"string","enum":["string","number","boolean","date","time","enum","object"]},"objectProperties":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"type":{"type":"string","enum":["string","number","boolean","date","time","enum"]},"options":{"type":"array","items":{"type":"string"}},"required":{"type":"boolean"},"value":{"description":"Tool parameters: the fixed value used when aiGenerated is false. Post-call analysis properties: a fallback saved only when the analysis cannot produce a value (call shorter than minimumDuration, not answered, no caller speech, or the AI left the field empty). It never replaces a value the AI extracted. Supports {{variables}}. Ignored on top-level object/array properties. Pass it as a plain string, number or boolean (e.g. \"{{customer_name}}\"), never wrapped in an object."}},"required":["name","type"],"example":{"id":"prop1","name":"propertyName","description":"A sample property","type":"string","required":true,"value":"sample value"}}},"enumOptions":{"type":"array","items":{"type":"string"}},"required":{"type":"boolean"},"value":{"description":"Tool parameters: the fixed value used when aiGenerated is false. Post-call analysis properties: a fallback saved only when the analysis cannot produce a value (call shorter than minimumDuration, not answered, no caller speech, or the AI left the field empty). It never replaces a value the AI extracted. Supports {{variables}}. Ignored on top-level object/array properties. Pass it as a plain string, number or boolean (e.g. \"{{customer_name}}\"), never wrapped in an object."},"isConstantForContactEntity":{"type":"boolean"}},"required":["name","type"],"example":{"id":"param1","name":"parameterName","displayName":"Parameter Name","index":0,"description":"A sample parameter","aiGenerated":false,"type":"string","required":true,"value":"default value","isConstantForContactEntity":false}}},"acceptDynamicVariables":{"type":"boolean","description":"true (default): any extra lead column becomes a {{variable}}. false: only leadColumns (plus phone) are accepted on leads."},"leadColumns":{"type":"array","description":"Extra lead columns { name, type: string|number|boolean|date } accepted when acceptDynamicVariables is false. REPLACES the list.","items":{"type":"object","properties":{"name":{"type":"string","minLength":1},"type":{"type":"string","enum":["string","number","boolean","date"]}},"required":["name","type"]}},"allowedPhoneNumbers":{"type":"array","description":"Test numbers only: the company's own phones (e.g. the user's mobile). Calls to them skip the daily and cooldown call limits. Never add a customer's number. REPLACES the list.","items":{"type":"string","minLength":5,"maxLength":20}},"verifiedCallerId":{"type":"string","description":"A number verified for the company, shown as caller ID when the campaign dials on the Voice Logica line instead of its own SIP trunk. It must already be verified; \"\" removes it.","maxLength":20},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Update campaign","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"update_company_operating_hours","title":"Update company operating hours","description":"Set the business hours that decide whether the company counts as open. `operatingHours` REPLACES the whole week — send every day that has an open window, omit the days the company is shut. To mark the company closed on every day of the week you must pass closedAllWeek: true; an empty `operatingHours` array is rejected, because closing a client's line has to be deliberate. Manual hours only apply while Google sync is off: pass syncWithGoogle: false to switch away from the Google Business Profile, or syncWithGoogle: true to hand hours back to Google (rejected when the company has no linked Google Place). Returns the resulting week plus `openNow` so you can verify in one round trip. Note this is a weekly schedule only: one-off closed days are company holidays (telephony_execute create_holiday / add_greek_holidays); an enabled holiday today makes the agent treat the company as CLOSED.","inputSchema":{"type":"object","properties":{"operatingHours":{"type":"array","items":{"type":"object","properties":{"day":{"type":"string","enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"openFrom":{"type":"object","properties":{"hours":{"type":"number"},"minutes":{"type":"number"}},"required":["hours","minutes"]},"openTo":{"type":"object","properties":{"hours":{"type":"number"},"minutes":{"type":"number"}},"required":["hours","minutes"]}},"required":["day","openFrom","openTo"]},"description":"The full weekly schedule, replacing whatever is stored. Each entry is { day, openFrom: { hours, minutes }, openTo: { hours, minutes } } where day is monday..sunday and hours are 0-23 in the company timezone. A day with no entry is closed. Several entries for the same day express split shifts (e.g. a lunch break). Omit this field to leave the stored week untouched."},"closedAllWeek":{"type":"boolean","description":"Set true to clear every day, so the company reads as CLOSED at all times and callers always get the off-hours greeting. Required to express \"closed\" — passing an empty operatingHours array instead is an error. Remember to restore a schedule afterwards; nothing re-opens the company on its own."},"syncWithGoogle":{"type":"boolean","description":"true = take hours from the linked Google Business Profile and ignore the manual week; false = use the manual week stored here. Rejected with an error when set true on a company that has no Google Place linked."},"timezone":{"type":"string","description":"IANA timezone the weekly windows are interpreted in, e.g. \"Europe/Athens\". Omit to leave the company timezone unchanged."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Update company operating hours","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"update_learning_settings","title":"Update learning settings","description":"Change the company's Learning settings (web app: Learning → Settings). Only the fields you pass change. To let a colleague's chat answers be added to knowledge without review: autoAddHumanAnswers true and their user id in autoAddTrustedUserIds (the full list — it replaces the stored one; ids from query_user_action (action \"list_users\"); non-members are dropped). Answers from anyone else, or whose knowledge base is unclear (routing below autoAddThreshold), still wait in Learning → Needs review.","inputSchema":{"type":"object","properties":{"captureUnanswered":{"type":"boolean","description":"Send questions the AI could not answer to review."},"captureHumanKnowledge":{"type":"boolean","description":"Turn answers colleagues give after a handoff into Suggested answers."},"detectConflicts":{"type":"boolean","description":"Flag answers that contradict existing knowledge."},"answerGapsFromHumans":{"type":"boolean","description":"Fill waiting unanswered questions with what a colleague answered on a call."},"websiteCheckFrequency":{"type":"string","enum":["off","daily","weekly","monthly"],"description":"off | daily | weekly | monthly — default re-read for websites added without their own schedule."},"autoAddHumanAnswers":{"type":"boolean","description":"Add trusted colleagues' chat answers without review."},"autoAddTrustedUserIds":{"type":"array","items":{"type":"string"},"description":"User ids (query_user_action, action \"list_users\") whose answers may be added without review. Replaces the whole list; [] = nobody."},"autoAddThreshold":{"type":"number","description":"50–100: how sure routing must be of the knowledge base before adding automatically. Default 90."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Update learning settings","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"update_mcp_settings","title":"Update MCP settings","description":"Update default MCP settings for the company. Set the default SIP trunk (sipTrunkId — the line used by initiate_call when no trunk is passed), agent, company default SMS sender (it applies to every SMS that names none, not only from chat: prefer messages_execute (action \"set_default_sms_sender\")), and Google Calendar ID used when tools like initiate_call, messages_execute (action \"send_sms\"), or calendar tools are called without explicit IDs. Always set sipTrunkId (from get_sip_trunks); voipPhoneId is legacy and only used when no default SIP trunk is set. IDs must belong to the current company. Pass \"\" or null for sipTrunkId/voipPhoneId/agentId/smsSenderId (or \"\" for defaultCalendarId) to clear a default. Use calendar_query (action \"list_calendars\") to find calendar IDs.","inputSchema":{"type":"object","properties":{"voipPhoneId":{"type":"string","description":"Default VoIP phone ID for MCP calls (legacy — prefer sipTrunkId). Pass \"\" or null to clear.","pattern":"^([a-fA-F0-9]{24})?$"},"sipTrunkId":{"type":"string","description":"Default SIP trunk ID for MCP calls. Pass \"\" or null to clear.","pattern":"^([a-fA-F0-9]{24})?$"},"agentId":{"type":"string","description":"Default agent ID for MCP calls. Pass \"\" or null to clear.","pattern":"^([a-fA-F0-9]{24})?$"},"smsSenderId":{"type":"string","description":"The company default SMS sender (every SMS that names none: agents, workflows, campaigns, chat; same as the messages set_default_sms_sender action). Pass \"\" or null for automatic.","pattern":"^([a-fA-F0-9]{24})?$"},"defaultCalendarId":{"type":"string","description":"Default Google Calendar ID for MCP calendar tools (e.g. \"primary\" or an ID from list_calendars). Pass \"\" to clear."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Update MCP settings","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"update_sip_trunk","title":"Update SIP trunk","description":"Update an existing SIP trunk (the line that REGISTERs). All fields except sipTrunkId are optional. Use this to change host / enable / credentials — a VoIP phone ipAddressInput change does not rewrite the mirroring trunk host. Also the Advanced tab: pickUpDelay (seconds the call rings before the AI answers, so staff can pick up first; 0 = at once), registrationExpiresSeconds, auth types, domain / fromDomain / outboundProxy, allowed RTP IPs, SRTP, codecs, maxChannels, defaultPhoneNumber, blockInternationalCalls, outsideLinePrefix (set \"0\" when the PBX shows callers as 0698…; \"\" clears it), displayLabel (short line name shown on the desk phones / softphones that ring for this trunk, e.g. SALES or 240; needs Call settings inboundLineCallerId; \"\" clears it). Only the fields you send change. Preserves wireguard + edgeDeviceId and inbound destination unless you send those fields. Confirm with pbx_query (action \"get_trunk_sip_logs\").","inputSchema":{"type":"object","properties":{"sipTrunkId":{"type":"string","description":"MongoDB ID of the SIP trunk to update (same id as get_trunk_sip_logs).","minLength":1},"host":{"type":"string","description":"Remote SIP registrar host / PBX IP. This is what REGISTER is sent to.","minLength":1,"maxLength":255},"port":{"type":"integer","description":"Remote SIP port (default 5060).","minimum":1,"maximum":65535},"transport":{"type":"string","description":"SIP transport: udp, tcp, or tls.","enum":["udp","tcp","tls"]},"enabled":{"type":"boolean","description":"Set true to enable (REGISTER) or false to disable. Omit to leave unchanged."},"name":{"type":"string","description":"Display name for the trunk.","minLength":1,"maxLength":100},"username":{"type":"string","description":"SIP username for outbound registration.","maxLength":100},"password":{"type":"string","description":"SIP password. Omit to keep the stored secret.","maxLength":200},"tunnelType":{"type":"string","description":"none (direct) or wireguard (on-prem edge). Preserve wireguard + edgeDeviceId on private 10.x / 192.168.x hosts.","enum":["none","wireguard"]},"edgeDeviceId":{"type":"string","description":"Bound edge device id when tunnelType is wireguard.","maxLength":100},"contactHost":{"type":"string","description":"Host advertised in SIP Contact on cloud trunks.","enum":["phone_id","company_id","ip"]},"allowOriginationThroughRemotePbx":{"type":"boolean","description":"Remote PBX extension trunks only: true lets calls go OUT through the PBX (assistant calls, campaigns, \"call me\"); false refuses them with remote_pbx_origination_disabled. Omit to leave unchanged."},"completeTransferByRefer":{"type":"string","description":"PBX trunks with announced transfers: on = once the recipient accepts, the PBX takes the caller with a REFER (no Replaces) and our legs close (channels free, billing stops); auto = same only when the PBX does not offer Replaces; off = keep bridging. Omit to leave unchanged.","enum":["auto","on","off"]},"pickUpDelay":{"type":"integer","description":"Seconds to let an inbound call ring before the AI answers, so a human extension on the customer PBX gets first refusal (0 = answer immediately)","minimum":0,"maximum":60},"registrationExpiresSeconds":{"type":"integer","description":"REGISTER Expires header (60-86400s). Monitoring refreshes before expiry and clears stale registration after expiry + grace. Default 300.","minimum":60,"maximum":86400},"inboundAuthType":{"type":"string","description":"How inbound requests from the peer are authenticated: 'ip_auth', 'registration', or 'none'","enum":["ip_auth","registration","none"]},"outboundAuthType":{"type":"string","description":"How this platform authenticates to the peer: 'registration', 'ip_auth', or 'none'","enum":["registration","ip_auth","none"]},"authId":{"type":"string","description":"SIP auth ID / login ID for digest authentication (defaults to username if not set)","maxLength":100},"ipWhitelist":{"type":"array","description":"Trusted static source IP addresses or CIDR ranges for inbound SIP when using ip_auth (e.g. 203.0.113.10)","items":{"type":"string","maxLength":128},"default":[]},"allowedRtpIps":{"type":"array","description":"Extra RTP source IPs beyond the SDP media address (same remote port; for split-edge media)","items":{"type":"string","maxLength":128},"default":[]},"domain":{"type":"string","description":"Optional SIP domain / realm","maxLength":255},"fromDomain":{"type":"string","description":"Optional From/PAI domain override for outbound requests","maxLength":255},"outboundProxy":{"type":"string","description":"Optional outbound SIP proxy (host or host:port)","maxLength":255},"srtpEnabled":{"type":"boolean","description":"Offer encrypted media (SDES SRTP) on outgoing calls; falls back to plain RTP when the peer refuses. Incoming calls follow the peer either way.","default":false},"codecs":{"type":"array","description":"Ordered list of allowed audio codecs for this trunk","items":{"type":"string","enum":["pcmu","pcma","g722","opus","telephone-event"]}},"maxChannels":{"type":"integer","description":"Concurrent calls on this SIP trunk, inbound + outbound together. null = unlimited. At the cap: inbound gets 486 Busy; campaigns wait for a free channel (no lead attempt).","minimum":1},"defaultPhoneNumber":{"type":"string","description":"Optional default phone number for this trunk; used as Refer-To for agent/PIN transfers when the peer expects a trunk DID instead of the PIN","maxLength":32,"pattern":"^\\+?[0-9*#]+$"},"blockInternationalCalls":{"type":"boolean","description":"When true, outbound calls and transfers on this trunk to explicitly international numbers (+ / 00 prefix) outside Greece and Cyprus are refused. Domestic and national-format numbers are unaffected. Omitted on create = true (new lines block calls abroad until turned off)."},"outsideLinePrefix":{"type":"string","description":"Digit(s) the customer's PBX puts in front of outside numbers to get a line (usually '0'). Stripped from inbound caller numbers (06982364479 → 6982364479) and added to numbers dialed out through this trunk; extensions are never changed. Empty = none.","pattern":"^\\d{0,4}$"},"displayLabel":{"type":"string","description":"Short label for this line shown on the desk phones / softphones that ring for its calls (e.g. SALES, 240, YubotoHQ), as \"[SALES] <caller>\". Needs Call settings inboundLineCallerId on. A label on the called number wins. Up to 20 characters; empty = none.","maxLength":20},"supportsInbound":{"type":"boolean","description":"Whether this provider trunk can receive inbound calls from the peer","default":true},"supportsOutbound":{"type":"boolean","description":"Whether this provider trunk can originate outbound calls toward the peer","default":true},"webhookUrl":{"type":"string","description":"Pre-answer webhook: each inbound call is POSTed here, and the response can change the agent, welcome message, context and variables.","format":"uri","maxLength":500},"destinationType":{"type":"string","description":"Type of destination used by the inbound route","enum":["user","user_group","ai_agent","external_number","external_bridge","conference_room","sip_uri"]},"destinationId":{"type":"string","description":"The id of that destination: for \"ai_agent\" the agent id from get_agents, for \"user\" a user id.","maxLength":255},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["sipTrunkId"]},"annotations":{"title":"Update SIP trunk","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"update_workflow","title":"Update workflow","description":"Update top-level workflow metadata (name and/or visibility). To modify nodes or triggers, use the dedicated add/update/remove tools instead.","inputSchema":{"type":"object","properties":{"workflowId":{"type":"string","description":"The ID of the workflow to update"},"name":{"type":"string","description":"New name for the workflow"},"visibility":{"type":"string","description":"New visibility: private, resellerRead (clients can open, not edit), resellerWrite (clients can open and edit the shared copy), or globalRead"},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}},"required":["workflowId"]},"annotations":{"title":"Update workflow","readOnlyHint":false,"destructiveHint":false,"openWorldHint":false}},{"name":"upgrade_plan","title":"Upgrade plan","description":"Start buying, upgrading or downgrading a plan or pack with the planId from list_plans. Nothing paid by card is charged from chat: it returns status checkout_required with checkoutUrl, the plan and its EUR price. Give the user the link: they review the price and confirm on the Voice Logica billing page, which asks for the VAT number and a card when missing; afterwards check with billing_query (action \"get_subscription\"). A new plan starts when bought and is charged in full (no proration). To stop the subscription use billing_execute (action \"cancel_subscription\") instead. Resellers: pass the companyId of a client to assign, upgrade or downgrade its plan or add a pack, paid in credits from the reseller balance; on their own company minute packs are paid in credits and credit packs (by card) through checkoutUrl, and the reseller tier cannot be changed. Moving a reseller client from a Noema mobile app plan to an AI agent plan adds a Mobile Seat so the Noema app keeps working; pass keepMobileSeat false if they no longer want the app. For a reseller the first call returns status confirm_required with the company, the plan, the price and the credit balance before and after: tell the user, and only after they confirm call again with confirm: true. companyId must be the reseller company itself or one of its clients (list_companies). A client of a reseller cannot buy.","inputSchema":{"type":"object","properties":{"planId":{"type":"string","description":"The ID of the plan to upgrade to (from list_plans)"},"companyId":{"type":"string","description":"Optional. The ID of the client company to upgrade (for resellers). If omitted, upgrades the current company."},"keepMobileSeat":{"type":"boolean","description":"Leaving a Noema mobile app plan for an AI agent plan: keep the Noema app by adding a Mobile Seat (default true). Pass false only if the user no longer wants the app."},"confirm":{"type":"boolean","description":"Resellers: pass true only after the user confirmed the company, plan and price that the first call returned (status confirm_required)."}},"required":["planId"]},"annotations":{"title":"Upgrade plan","readOnlyHint":false,"destructiveHint":true,"openWorldHint":true}},{"name":"versions_execute","title":"Versions execute","description":"Change actions for versions: save_agent_version, publish_agent_version, delete_agent_version, save_workflow_version, publish_workflow_version, delete_workflow_version. Inputs: versions_query with { action } for one, without action for all. Confirm deletions with the user first.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Versions execute","readOnlyHint":false,"destructiveHint":true,"openWorldHint":false}},{"name":"versions_query","title":"Versions query","description":"Saved versions of agents and workflows: list them and the publish history, save the current state as a version, publish one (makes it live), delete one. Read actions: list_agent_versions, get_agent_publish_history, list_workflow_versions. Changes run with versions_execute, not here. Write actions: save_agent_version, publish_agent_version, delete_agent_version, save_workflow_version, publish_workflow_version, delete_workflow_version. Without action: every action of this area with its input.","inputSchema":{"type":"object","properties":{"action":{"type":"string","description":"The action to run. Omit it (query only) to list the actions with their inputs.","maxLength":60},"input":{"type":"object","description":"The action's input, as listed."},"companyId":{"type":"string","description":"Optional. Admins, super-admins, account managers, and resellers only: the ID of the company to act on for this call (you must have access to that company). Omit to use your current company."}}},"annotations":{"title":"Versions query","readOnlyHint":true,"destructiveHint":false,"openWorldHint":false}}],"prompts":[{"name":"what_can_you_do","title":"What can you do?","description":"A short menu of everything you can do in Voice Logica from this chat."},{"name":"build_agent","title":"Build a phone agent","description":"Create an AI agent that answers calls for your business.","arguments":[{"name":"business","description":"Your business and what the agent should do, e.g. \"dental clinic, books appointments, in Greek\"","required":false}]},{"name":"test_agent","title":"Hear my agent","description":"Call your phone with the agent, or test it in the browser."},{"name":"improve_agent","title":"Improve my agent from real calls","description":"Review recent calls, find what went wrong and fix the prompt or knowledge."},{"name":"add_knowledge","title":"Teach it about my business","description":"Add your website, documents or Q&A to the agent's knowledge.","arguments":[{"name":"website","description":"Website to learn from (optional)","required":false}]},{"name":"calls_report","title":"Calls report","description":"What happened on your calls: volume, outcomes, transfers, reasons.","arguments":[{"name":"period","description":"e.g. \"yesterday\", \"last week\" (default: last 7 days)","required":false}]},{"name":"my_tasks","title":"My tasks","description":"What is on my list: my open tasks and callbacks, soonest first."},{"name":"review_my_tasks","title":"Go through my tasks","description":"Checks your open tasks against what you already did (sent email, meetings) and updates them with you.","arguments":[{"name":"period","description":"\"overdue\", \"today\" or \"this week\" (default: overdue and due today)","required":false}]},{"name":"follow_ups","title":"What needs follow-up?","description":"Callbacks, open tasks and callers waiting for an answer."},{"name":"start_campaign","title":"Start an outbound campaign","description":"Have an agent call a list of people."},{"name":"connect_phone_line","title":"Connect my phone line","description":"A Voice Logica number, your carrier (SIP trunk), or your office phone system."},{"name":"connect_pbx","title":"Connect my office PBX","description":"Panasonic, Grandstream, Yeastar, 3CX, FreePBX, Alcatel, Avaya or any SIP PBX. No port forwarding.","arguments":[{"name":"brand","description":"Your phone system, e.g. \"Panasonic KX-NS700\" (optional)","required":false}]},{"name":"go_live","title":"Go live","description":"Pick a plan, add a card, and get a real phone line for your agent."},{"name":"setup_team_phones","title":"Set up my team's phones","description":"Add users, get seats, and install SIP, Windows or iOS.","arguments":[{"name":"email","description":"Email of the person to set up (optional)","required":false}]},{"name":"automate","title":"Automate after calls","description":"Text the caller a link, look up orders mid-call, or send every call to your CRM or email."},{"name":"connect_integration","title":"Connect my CRM or tools","description":"Salesforce, Zoho, HubSpot, calendars, e-shop, helpdesk and more."},{"name":"how_do_i","title":"How do I…?","description":"Ask anything about Voice Logica; answered step by step, with a link.","arguments":[{"name":"question","description":"Your question","required":true}]}],"icons":[{"src":"https://app.voicelogica.ai/assets/pwa/icon-512.png","mimeType":"image/png","sizes":["512x512"]}],"documentation":"https://docs.voicelogica.ai/integrations/claude-chatgpt/"}