{"name":"io.github.conquext/neuron","slug":"conquext-neuron","title":null,"description":"AI-powered WhatsApp chatbot platform with 196 tools for bots, campaigns, and contacts.","url":"https://mcp.market/server/conquext-neuron","rating":null,"grade":"C","score":63,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":13,"stars":null,"forks":null,"downloads_week":46,"last_push_at":null,"license":"MIT"},"uptime":{"percent":100,"checks":28,"ok":28,"last_checked_at":"2026-11-04T05:50:42.287Z","last_ok_at":"2026-11-04T05:50:42.287Z","latency_ms":171},"claimed":false,"transport":"mixed","callable_via_gateway":true,"default_price_micros":0,"repository":"https://github.com/conquext/neuron","website":null,"version":"1.0.2","remotes":[{"type":"streamable-http","url":"https://mcp.neuron.ng/mcp"}],"packages":[{"registryType":"npm","identifier":"neuron-mcp-server","version":"1.0.1","transport":{"type":"stdio"}}],"tools":[{"name":"neuron_add_bot_channel","description":"Connect an additional WhatsApp channel to a bot as a secondary number. The bot will respond to messages on this channel.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot"},"channelId":{"type":"string","description":"Unique identifier (UUID) of the WhatsApp channel to connect"}},"required":["botId","channelId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_add_group_members","description":"Add members to an existing group, resolved from any combination of sources (other groups, contact lists, contacts, pasted phones, all contacts). Address the group by its id, slug, or JID.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"group":{"type":"string","description":"Group id, slug, or JID (ending in @g.us)"},"fromGroupIds":{"type":"array","items":{"type":"string"},"description":"Copy/combine members live from these WhatsApp group JIDs"},"listIds":{"type":"array","items":{"type":"string"},"description":"Contact list ids or slugs — pulls every member"},"contactIds":{"type":"array","items":{"type":"string"},"description":"Existing contact ids"},"phones":{"type":"array","items":{"type":"string"},"description":"Raw phone numbers, e.g. pasted from a CSV"},"allContacts":{"type":"boolean","description":"Union the org's entire address book"},"tags":{"type":"array","items":{"type":"string"},"description":"Keep only contacts carrying one of these tags"},"excludeListIds":{"type":"array","items":{"type":"string"},"description":"Subtract every member of these lists"}},"required":["group"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_add_product_codes","description":"Add more unique codes/keys to a 'pool' code product's stock. Each buyer receives one. Returns the product with the new remaining count.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Product UUID"},"codes":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Unique codes/keys to append to the pool"}},"required":["id","codes"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_add_to_contact_list","description":"Add one or more contacts to a list by contact ID or phone number. Phone numbers without existing contacts are auto-created as minimal contact records.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"idOrSlug":{"type":"string","description":"Unique identifier (UUID) or URL-friendly slug of the target contact list"},"entries":{"type":"array","items":{"type":"object","properties":{"contactId":{"type":"string","description":"Unique identifier (UUID) of an existing contact"},"phone":{"type":"string","description":"Phone number in E.164 format (e.g., +2348012345678). Creates a new contact if no match exists."}},"additionalProperties":false},"description":"Array of contacts to add, each identified by contactId or phone number"}},"required":["idOrSlug","entries"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_add_tool_secret","description":"Store or update a secret credential (API key, token, etc.) for a custom tool integration. Secrets are encrypted at rest.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the tool to add the secret to"},"key":{"type":"string","description":"Secret key name used in templates (e.g., 'API_KEY', 'AUTH_TOKEN')"},"value":{"type":"string","description":"Secret value to store securely (will be encrypted)"}},"required":["id","key","value"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_apply_persona_to_bot","description":"Give a bot this persona's voice: merges a delimited voice block into the bot's system prompt (idempotent — re-applying or swapping personas replaces it cleanly) and tags the bot's metadata with the persona id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Persona UUID"},"botId":{"type":"string","description":"Bot UUID to apply the voice to."}},"required":["id","botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_apply_to_sell","description":"Apply for seller access (digital products). Requires a Pro plan or higher; a platform admin then grants access.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"pitch":{"type":"string","description":"Short note on what you plan to sell"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_approve_reflection","description":"Approve a bot-generated reflection to incorporate the learned insight into the bot's future behavior and responses.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the reflection to approve"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_assign_bot_to_channel","description":"Assign a bot to handle incoming messages on a specific WhatsApp channel. Replaces any previously assigned bot.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the channel"},"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to assign"}},"required":["id","botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_assign_bot_to_social_channel","description":"Assign a bot to handle interactions on a specific social media channel. The bot will be able to use the channel's credentials for social media actions.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the social channel"},"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to assign"}},"required":["id","botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_attach_knowledge_base","description":"Attach a knowledge base to a bot to enhance its responses with domain-specific knowledge. Optional priority determines retrieval order when multiple knowledge bases are attached.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the bot"},"knowledgeBaseId":{"type":"string","description":"Unique identifier (UUID) of the knowledge base to attach"},"priority":{"type":"number","description":"Priority level for knowledge base retrieval (higher values are checked first)"}},"required":["id","knowledgeBaseId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_audio_contact","description":"Transcribe an audio recording and extract contact information (name, phone, email, notes, tags). Automatically saves the extracted contact to the organization's address book.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"audioBase64":{"type":"string","description":"Base64-encoded audio data containing spoken contact information"},"audioFormat":{"type":"string","default":"webm","description":"Audio format hint for decoding (default: 'webm')"}},"required":["audioBase64"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_block_contact","description":"Block a WhatsApp contact. Blocked contacts cannot message the bot or see its profile.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"jid":{"type":"string","description":"Contact JID or phone number to block (e.g. '2348012345678' or '2348012345678@s.whatsapp.net')"}},"required":["channelId","jid"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_bot_api_chat","description":"Send a message to a bot via the API and receive a streaming or complete AI-generated response. Requires a valid API key with 'nrn_' prefix.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"apiKey":{"type":"string","description":"Bot API key with 'nrn_' prefix for authentication"},"message":{"type":"string","description":"The message text to send to the bot"},"contactPhone":{"type":"string","description":"Phone number of the contact sending the message (E.164 format, e.g., '+2348012345678')"},"contactName":{"type":"string","description":"Display name of the contact for conversation context"}},"required":["apiKey","message","contactPhone"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_bot_api_get_bot","description":"Retrieve configuration and status information about the bot associated with the provided API key.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"apiKey":{"type":"string","description":"Bot API key with 'nrn_' prefix for authentication"}},"required":["apiKey"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_bot_api_get_messages","description":"Retrieve message history for a specific conversation with cursor-based pagination. Requires a valid API key.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"apiKey":{"type":"string","description":"Bot API key with 'nrn_' prefix for authentication"},"conversationId":{"type":"string","description":"Unique identifier (UUID) of the conversation to retrieve messages from"},"before":{"type":"string","description":"Cursor for pagination — retrieve messages created before this message ID or ISO 8601 timestamp"},"limit":{"type":"number","exclusiveMinimum":0,"description":"Maximum number of messages to return (default: 50)"}},"required":["apiKey","conversationId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_bot_api_list_conversations","description":"Retrieve a paginated list of conversations managed by the bot. Supports filtering by conversation status. Requires a valid API key.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"apiKey":{"type":"string","description":"Bot API key with 'nrn_' prefix for authentication"},"status":{"type":"string","description":"Filter by conversation status: 'active', 'closed', or 'pending'"},"page":{"type":"number","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"number","exclusiveMinimum":0,"description":"Number of conversations per page (default: 20)"}},"required":["apiKey"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_bot_api_send","description":"Send an outbound message through the bot API to a specified phone number. Supports text and media messages. Requires a valid API key.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"apiKey":{"type":"string","description":"Bot API key with 'nrn_' prefix for authentication"},"to":{"type":"string","description":"Recipient's phone number (E.164 format, e.g., '+2348012345678')"},"message":{"type":"string","description":"The message text to send to the recipient"},"messageType":{"type":"string","description":"Type of message to send: 'text', 'image', 'video', 'audio', or 'document' (default: 'text')"},"mediaUrl":{"type":"string","description":"Public URL of the media file to attach (required for non-text message types)"},"channelId":{"type":"string","description":"Unique identifier (UUID) of a specific WhatsApp channel to send from. Uses the bot's primary channel if omitted."},"sendAt":{"type":"string","description":"ISO 8601 date-time for scheduled delivery (e.g., '2025-12-31T10:00:00Z'). Message sends immediately if omitted."}},"required":["apiKey","to","message"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_browse_list_pool","description":"Browse verified contact lists available in the shared marketplace pool. Filter by category, region, or search term.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"category":{"type":"string","description":"Filter by audience category (e.g., 'delivery', 'tech', 'consumers')"},"region":{"type":"string","description":"Filter by geographic region (e.g., 'lagos', 'abuja')"},"search":{"type":"string","description":"Search term to filter by description or category"},"smsEnabled":{"type":"boolean","description":"Only return lists whose owner opted into SMS campaigns (usable as curated audiences for neuron_create_sms_campaign)"},"page":{"type":"number","description":"Page number for pagination (default: 1)"},"limit":{"type":"number","description":"Number of items per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_browse_pool","description":"Browse the shared marketplace pool of published bots, tools, knowledge bases, and reflections with optional filtering by type, category, tags, or search query.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"query":{"type":"string","description":"Free-text search query to filter pool items by name or description"},"type":{"type":"string","enum":["knowledge_base","bot_template","tool_template","reflection_pack"],"description":"Filter by resource type"},"category":{"type":"string","description":"Filter by category name"},"tags":{"type":"string","description":"Filter by tags (comma-separated list, e.g., 'ai,chatbot')"},"featured":{"type":"boolean","description":"When true, return only featured items"},"page":{"type":"number","description":"Page number for pagination (default: 1)"},"limit":{"type":"number","description":"Number of items per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_build_persona","description":"Distill a reusable voice from a Collection of mined content: analyzes the top-engagement items and reverse-engineers a voiceProfile (tone, diction, cadence, emoji/formatting habits, themes, dos/donts) + representative exemplars. Requires the collection to have >=3 usable samples. Runs an LLM call (a few seconds).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"Source Collection UUID (built by the web agent / content mining)."},"name":{"type":"string","description":"Persona name. Defaults to '<collection name> voice'."},"sampleLimit":{"type":"integer","minimum":1,"maximum":200,"description":"How many top-engagement items to analyze (default 40)."}},"required":["collectionId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_build_persona_from_conversation","description":"Distill a reusable voice from an existing WhatsApp conversation's stored messages — no extension needed. `author` picks whose voice: 'me' (owner's own outgoing texts), 'contact' (the other party), 'bot', or 'any'. For a group chat, pass senderName/senderPhone to isolate one participant. Requires >=3 usable text messages. Runs an LLM call.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"conversationId":{"type":"string","description":"Conversation UUID (from neuron_list_conversations)."},"author":{"type":"string","enum":["me","contact","bot","any"],"description":"Whose voice to capture. Default 'me'."},"senderName":{"type":"string","description":"For groups: match one participant by display name."},"senderPhone":{"type":"string","description":"For groups: match one participant by phone."},"name":{"type":"string"},"limit":{"type":"integer","minimum":1,"maximum":500,"description":"How many recent messages to read (default 200)."}},"required":["conversationId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_build_persona_from_text","description":"Distill a reusable voice from raw text — no Collection or browser extension needed. Feed it pasted posts, a chat/dialogue transcript, WhatsApp-export text, or your own well-crafted writing sample, and it reverse-engineers a voiceProfile (tone, diction, cadence, emoji/formatting habits, themes, dos/donts) + exemplars. Provide `text` (auto-split into samples) and/or `samples` (already-split). Runs an LLM call (a few seconds).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"text":{"type":"string","description":"A raw blob to distill: posts, a dialogue, a chat transcript, or a writing sample. Auto-split into samples."},"samples":{"type":"array","items":{"type":"string"},"description":"Pre-split writing samples (alternative or addition to `text`)."},"name":{"type":"string","description":"Persona name. Defaults to '<author> voice' or 'Custom voice'."},"description":{"type":"string"},"speaker":{"type":"string","description":"If `text` is a chat transcript, keep only this speaker's lines (name match) — so a group chat yields one person's voice."},"platform":{"type":"string","description":"Optional metadata tag for the samples (e.g. 'whatsapp', 'x')."},"authorLabel":{"type":"string","description":"Who the voice belongs to, for a more grounded analysis."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_bulk_toggle_builtin_tools","description":"Enable or disable multiple built-in tools at once for a bot. More efficient than toggling tools individually.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to update tools for"},"settings":{"type":"array","items":{"type":"object","properties":{"toolId":{"type":"string","description":"Identifier of the built-in tool (e.g., 'web_search', 'send_direct_message')"},"enabled":{"type":"boolean","description":"Whether to enable (true) or disable (false) this tool"}},"required":["toolId","enabled"],"additionalProperties":false},"description":"Array of tool toggle settings to apply in bulk"}},"required":["botId","settings"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_campaign_marketplace","description":"Browse available campaigns in the marketplace that your organization can join to earn rewards by sending messages.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of campaigns per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_campaign_participants","description":"Retrieve all participants who have joined a campaign you own, including their delivery counts and earned rewards.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the campaign you own"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_cancel_approval","description":"Cancel a still-pending approval (e.g. the upstream action was aborted). Fires the approval.cancelled callback. Requires a bot API key.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"apiKey":{"type":"string","description":"Bot API key with 'nrn_' prefix for authentication"},"approvalId":{"type":"string","description":"The approval request id (UUID) to cancel"},"reason":{"type":"string","description":"Optional cancellation reason"}},"required":["apiKey","approvalId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_cancel_booking","description":"Cancel a confirmed or pending booking. Sends cancellation notifications to the invitee.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Booking UUID"},"reason":{"type":"string","description":"Cancellation reason"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_cancel_flow_run","description":"Cancel a running or waiting flow execution. Steps already completed are not rolled back.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"runId":{"type":"string","description":"UUID of the run to cancel."}},"required":["runId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_cancel_scheduled_message","description":"Cancel a scheduled message to prevent it from being sent. Only messages with status 'scheduled' can be cancelled. This action cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the scheduled message to cancel"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_cancel_subscription","description":"Cancel the current active subscription. Access continues until the end of the current billing period.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_checkout","description":"Initiate a checkout session for a subscription plan upgrade. Returns a checkout URL or confirmation to complete the purchase.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"plan":{"type":"string","enum":["pro","business"],"description":"Subscription plan to purchase: 'pro' or 'business'"}},"required":["plan"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_close_conversation","description":"Close an active conversation, marking it as completed. The bot will stop responding and the conversation is archived.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the conversation to close"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_complete_booking","description":"Mark a confirmed booking as completed (e.g. after the meeting has happened).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Booking UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_compose_message","description":"Compose and send a new message to a phone number via a specific channel. Automatically creates a new conversation if one does not exist.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"Unique identifier (UUID) of the WhatsApp channel to send through"},"to":{"type":"string","description":"Recipient phone number (E.164 format, e.g., '2348012345678')"},"text":{"type":"string","description":"Message text content"},"messageType":{"type":"string","description":"Type of message: 'text' (default), 'image', or 'document'"},"mediaUrl":{"type":"string","description":"URL of media to attach (required for non-text message types)"},"contactName":{"type":"string","description":"Display name for the recipient contact"},"sendAt":{"type":"string","description":"ISO 8601 date-time for scheduled delivery (e.g., '2025-12-31T10:00:00Z'). Message sends immediately if omitted."}},"required":["channelId","to","text"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_confirm_booking","description":"Confirm a pending booking. Only works on bookings with status 'pending'.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Booking UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_convert_lead","description":"Promote a phone-bearing lead into a contact (so it can be messaged / added to lists). Optionally add the new contact to a list.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Lead UUID"},"addToList":{"type":"string","description":"Contact list name to add the converted contact to."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_ad_request","description":"Create an ad distribution request to send a message to contacts in pool lists matching target demographics. Deducts from wallet upon approval.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"message":{"type":"string","description":"The ad message content to distribute to matched contacts"},"messageType":{"type":"string","description":"Message content type: 'text', 'image', 'video', or 'document' (default: 'text')"},"mediaUrl":{"type":"string","description":"Media URL for non-text messages (required when messageType is 'image', 'video', or 'document')"},"targetDemographics":{"type":"object","properties":{"categories":{"type":"array","items":{"type":"string"},"description":"Target audience categories to match (e.g., ['delivery', 'tech'])"},"regions":{"type":"array","items":{"type":"string"},"description":"Target geographic regions to match (e.g., ['lagos', 'abuja'])"}},"additionalProperties":false,"description":"Demographic criteria to match against pool list entries"},"targetGoal":{"type":"number","description":"Target number of successful message deliveries"},"budget":{"type":"number","description":"Total ad budget in kobo (e.g., 500000 = NGN 5,000)"}},"required":["message","targetDemographics","targetGoal","budget"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_api_key","description":"Create a new API key for programmatic access to a specific bot. Store the key securely as it cannot be retrieved later.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to create the API key for"},"name":{"type":"string","description":"Descriptive name for the API key to identify its purpose (e.g., 'Production CRM Integration')"},"expiresAt":{"type":"string","description":"ISO 8601 date-time when the key should expire (e.g., '2026-12-31T23:59:59Z'). Key never expires if omitted."}},"required":["botId","name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_blog_post","description":"Create a new blog post. Body can be authored two ways: (1) `content` as markdown (GFM) + inline raw HTML, or (2) `blocks` — a structured array of typed layout blocks rendered as styled components (heroes, columns, callouts, code cards, embeds, CTAs, sanitized custom HTML). Prefer `blocks` for rich, magazine-style layouts; use `content` for simple prose. If both are given, `blocks` renders and `content` is kept as a fallback.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"title":{"type":"string","description":"Title of the blog post (max 500 characters)"},"content":{"type":"string","description":"Optional markdown body (GFM + inline raw HTML). Used when `blocks` is not provided, and kept as a fallback when it is. Rich options: ![alt](url), <video src controls>, <iframe> embeds (16:9), <details><summary>, <mark>, <kbd>."},"blocks":{"type":"array","items":{"type":"object","additionalProperties":{}},"description":"Structured layout blocks, rendered top-to-bottom as styled components. Each block is an object with a `type` and its fields:\n- hero: { type:'hero', title, kicker?, subtitle?, imageUrl?, align?:'left'|'center', ctaLabel?, ctaHref? }\n- richText: { type:'richText', markdown }  (full GFM markdown)\n- callout: { type:'callout', variant:'info'|'tip'|'warning'|'success'|'danger', title?, markdown }\n- columns: { type:'columns', ratio?:'1-1'|'1-2'|'2-1', columns:[ [block,...], [block,...] ] }  (exactly 2 columns of leaf blocks; no nested columns)\n- codeCard: { type:'codeCard', language?, filename?, code }\n- imageGrid: { type:'imageGrid', columns?:1|2|3|4, images:[{ url, alt?, caption? }] }\n- quote: { type:'quote', quote, attribution? }\n- embed: { type:'embed', provider:'youtube'|'loom'|'vimeo'|'generic', url, title? }  (paste the normal share URL)\n- cta: { type:'cta', headline, body?, buttonLabel, buttonHref, secondaryLabel?, secondaryHref?, accent?:'#hex' }\n- divider: { type:'divider' }\n- html: { type:'html', html, sandboxed?, height? }  (custom HTML. Default is sanitized + indexable, no scripts. Set sandboxed:true to run scripts inside an isolated iframe — NOT indexed by search.)\nBuild magazine-style posts by composing these, e.g. a hero, then richText, then a columns block, a callout, a codeCard, and a closing cta."},"excerpt":{"type":"string","description":"Short summary or preview text for the blog post"},"authorType":{"type":"string","enum":["user","organization"],"description":"Whether the post is authored by an individual user or the organization"},"coverImageUrl":{"type":"string","description":"URL of the cover image displayed at the top of the post"},"tags":{"type":"array","items":{"type":"string"},"description":"List of tag names or slugs to categorize the post"},"status":{"type":"string","enum":["draft","published"],"default":"draft","description":"Initial publication status of the post (default: 'draft')"},"seoTitle":{"type":"string","description":"Custom SEO title override for search engine results"},"seoDescription":{"type":"string","description":"Meta description for search engine result snippets"},"seoKeywords":{"type":"array","items":{"type":"string"},"description":"List of SEO keywords for search engine optimization"}},"required":["title","authorType"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_bot","description":"Create a new AI bot with specified name, model, and behavior instructions. Returns the created bot object.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string","description":"Display name for the bot"},"systemPrompt":{"type":"string","description":"System prompt that defines the bot's behavior, personality, and response guidelines"},"assignment":{"type":"string","description":"One-sentence role definition for the bot (max 2000 chars)"},"responsibilities":{"type":"array","items":{"type":"string"},"description":"Array of responsibility descriptions defining what the bot handles"},"llmModel":{"type":"string","description":"OpenRouter model ID (e.g., 'google/gemini-2.5-flash-lite', 'openrouter/auto')"},"llmTemperature":{"type":"number","minimum":0,"maximum":2,"description":"Temperature parameter controlling response randomness (0 = deterministic, 2 = creative)"},"maxTokens":{"type":"number","exclusiveMinimum":0,"description":"Maximum number of tokens the bot can generate per response"},"escalationPrompt":{"type":"string","description":"Prompt template used when escalating to a human agent (max 5000 chars)"},"greetingMessage":{"type":"string","description":"Automatic greeting sent when a new conversation starts (max 2000 chars)"},"welcomeMessage":{"type":"string","description":"Welcome message sent to new members joining groups the bot manages. Setting this field activates the batched welcome feature — new members are accumulated over a window (default 60s) and welcomed in a single message with @mentions. Set to null to disable."},"fallbackMessage":{"type":"string","description":"Message sent when the bot cannot understand user input (max 2000 chars)"},"whatsappChannelId":{"type":"string","description":"Unique identifier (UUID) of the WhatsApp channel to associate with the bot"},"metadata":{"type":"object","additionalProperties":{},"description":"Arbitrary metadata object stored with the bot. Known keys: 'communityExitFollowUp' (auto-DM users who leave watched groups — { enabled: boolean, groupJids: string[], message: string with {name} placeholder }), 'learningConfig' (self-learning from conversations — { enabled: boolean, folder: string, groupChats: string[], dmPhones: string[], useAdminPhones: boolean }), 'loadBalancing' (multi-channel round-robin — { enabled: boolean, strategy: string }), 'welcomeNewMembers' (fine-tune welcome behavior — { batchWindowSeconds: number, groupJids: string[] }). Additional custom keys are preserved as-is."}},"required":["name","systemPrompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_broadcast","description":"Create a new broadcast message in draft status. Provide recipients directly or use recipientSources to resolve from contact lists. The WhatsApp channel is auto-resolved if not specified.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"Identifier (UUID) of the WhatsApp channel to send through (auto-resolved from default channel if omitted)"},"botId":{"type":"string","description":"Identifier (UUID) of a bot to send through. Each recipient's channel is picked by the bot's load-balancer + sticky sessions. Takes precedence over channelId."},"name":{"type":"string","description":"Display name or label for the broadcast"},"message":{"type":"string","description":"Message content to broadcast to recipients"},"messageType":{"type":"string","description":"Type of message to send (e.g., 'text', 'image', 'document')"},"mediaUrl":{"type":"string","description":"URL of media to attach (required for image or document message types)"},"recipients":{"type":"array","items":{"type":"object","properties":{"phone":{"type":"string","description":"Recipient phone number in E.164 format (e.g., '+2348012345678')"},"contactName":{"type":"string","description":"Display name of the recipient contact"}},"required":["phone"],"additionalProperties":false},"description":"Direct list of recipients (alternative to recipientSources)"},"recipientSources":{"type":"object","properties":{"listIds":{"type":"array","items":{"type":"string"},"description":"Contact list identifiers (UUIDs or slugs) to include as recipients"},"phones":{"type":"array","items":{"type":"string"},"description":"Individual phone numbers in E.164 format to include"},"filters":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string"},"description":"Only include contacts matching these tags"}},"additionalProperties":false,"description":"Additional filters to narrow down recipients"},"excludeListIds":{"type":"array","items":{"type":"string"},"description":"Contact list identifiers (UUIDs or slugs) to exclude from recipients"}},"additionalProperties":false,"description":"Resolve recipients dynamically from contact lists with filtering and exclusion"},"scheduledAt":{"type":"string","description":"ISO 8601 date-time for scheduled broadcast delivery (e.g., '2025-12-31T10:00:00Z'). Creates as draft if omitted."}},"required":["name","message"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_calendar","description":"Create a new booking calendar with a name, timezone, and visibility setting.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string","description":"Calendar display name"},"slug":{"type":"string","description":"URL slug (auto-generated from name if omitted)"},"description":{"type":"string","description":"Calendar description"},"timezone":{"type":"string","description":"IANA timezone (default: Africa/Lagos)"},"visibility":{"type":"string","enum":["private","public","org-link"],"description":"Visibility: 'public' for public booking page, 'org-link' for link-only, 'private' for no public access"},"color":{"type":"string","description":"Hex color code (e.g. '#6366f1')"},"notifyEmail":{"type":"boolean","description":"Send email notifications for bookings"},"notifyWhatsapp":{"type":"boolean","description":"Send WhatsApp notifications for bookings"},"notifyPhone":{"type":"string","description":"Host phone number for WhatsApp notifications"},"notifyEmailAddress":{"type":"string","description":"Host email address for notifications"}},"required":["name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_campaign","description":"Create a new outreach campaign with target audience, messaging template, and schedule configuration. Requires a Pro or Business plan.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"title":{"type":"string","description":"Campaign title displayed in marketplace and dashboard"},"message":{"type":"string","description":"The WhatsApp message template to send to contacts"},"rewardPerDelivery":{"type":"number","description":"Reward per successful delivery in kobo (e.g., 5000 = NGN 50)"},"totalBudget":{"type":"number","description":"Total campaign budget in kobo (e.g., 500000 = NGN 5,000)"},"deadline":{"type":"string","description":"Campaign deadline in ISO 8601 date format (e.g., '2025-12-31')"},"description":{"type":"string","description":"Campaign description shown in the marketplace listing"},"guidelines":{"type":"string","description":"Instructions and guidelines for campaign participants"},"requireMutualContact":{"type":"boolean","description":"Only allow sends to contacts who have previously responded (default: false)"}},"required":["title","message","rewardPerDelivery","totalBudget","deadline"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_channel","description":"Create a new WhatsApp channel with either Meta Cloud API or Baileys (direct WhatsApp) integration. Meta Cloud channels require metaPhoneNumberId and metaAccessToken.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string","description":"Display name for the channel"},"type":{"type":"string","enum":["meta_cloud","baileys"],"description":"Integration type: 'meta_cloud' for Meta Cloud API or 'baileys' for direct WhatsApp connection"},"phoneNumber":{"type":"string","description":"Phone number for the channel (E.164 format, e.g., '+2348012345678')"},"metaPhoneNumberId":{"type":"string","description":"Meta Phone Number ID (required for meta_cloud type)"},"metaAccessToken":{"type":"string","description":"Meta Access Token (required for meta_cloud type)"}},"required":["name","type"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_contact","description":"Create a new contact in the organization's address book. If notes are provided, they are saved as a structured note entry with source tracking.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string","description":"Full name of the contact"},"phone":{"type":"string","description":"Contact phone number in E.164 format (e.g., +2348012345678)"},"email":{"type":"string","description":"Email address of the contact"},"tags":{"type":"array","items":{"type":"string"},"description":"Tags to categorize the contact (e.g., ['vendor', 'lagos'])"},"notes":{"type":"string","description":"Additional notes about the contact, saved as a structured entry"},"doNotBroadcast":{"type":"boolean","description":"If true, this contact is permanently excluded from all broadcasts"},"doNotAutoRespond":{"type":"boolean","description":"If true, the bot will never auto-respond to this contact (manual/API and human sends still work)"}},"required":["name","phone"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_contact_list","description":"Create a new contact list. Slug is auto-generated from name if not provided. For dynamic lists, provide criteria with rules and/or an AI prompt.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string","description":"Display name for the contact list"},"slug":{"type":"string","description":"URL-friendly identifier (auto-generated from name if omitted)"},"description":{"type":"string","description":"Human-readable description of the list's purpose"},"type":{"type":"string","enum":["static","dynamic","merged"],"description":"List type (default: 'static')"},"criteria":{"type":"object","additionalProperties":{},"description":"Dynamic list criteria object: { rules?: { operator, conditions }, aiPrompt?, aiMaxResults? }"},"refreshSchedule":{"type":"string","enum":["manual","daily","weekly","on_access"],"description":"Refresh schedule for dynamic lists (default: 'manual')"}},"required":["name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_event","description":"Create a host-initiated event on a calendar. Supports attendees (with WhatsApp/email invitations), location, and daily/weekly/monthly recurrence.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"calendarId":{"type":"string","description":"Calendar UUID"},"title":{"type":"string","description":"Event title"},"description":{"type":"string","description":"Event description"},"startTime":{"type":"string","description":"Start time (ISO 8601, e.g. '2025-03-15T09:00:00Z')"},"endTime":{"type":"string","description":"End time (ISO 8601)"},"locationType":{"type":"string","enum":["video","phone","in_person","whatsapp","custom"],"description":"Location type"},"locationValue":{"type":"string","description":"Location details"},"attendees":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Attendee name"},"email":{"type":"string","description":"Attendee email"},"phone":{"type":"string","description":"Attendee phone (for WhatsApp invitations)"},"contactId":{"type":"string","description":"Link to existing Neuron contact UUID"}},"required":["name"],"additionalProperties":false},"description":"List of attendees to invite"},"recurrenceRule":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"daily"},"interval":{"type":"number","description":"Every N days (default: 1)"},"endAt":{"type":"string","description":"Stop generating after this ISO date"},"count":{"type":"number","description":"Max occurrences"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"weekly"},"interval":{"type":"number","description":"Every N weeks (default: 1)"},"days":{"type":"array","items":{"type":"number"},"description":"Days of week: 0=Sun, 1=Mon, ..., 6=Sat"},"endAt":{"type":"string","description":"Stop generating after this ISO date"},"count":{"type":"number","description":"Max occurrences"}},"required":["kind","days"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"monthly"},"interval":{"type":"number","description":"Every N months (default: 1)"},"dayOfMonth":{"type":"number","description":"Day of month (1-31)"},"endAt":{"type":"string","description":"Stop generating after this ISO date"},"count":{"type":"number","description":"Max occurrences"}},"required":["kind","dayOfMonth"],"additionalProperties":false}],"description":"Recurrence rule — generates instances 12 weeks ahead"}},"required":["calendarId","title","startTime","endTime"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_event_type","description":"Create a bookable event type on a calendar (e.g. '30-min consultation').","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"calendarId":{"type":"string","description":"Calendar UUID to add the event type to"},"name":{"type":"string","description":"Event type name (e.g. 'Discovery Call')"},"description":{"type":"string","description":"Description shown on the booking page"},"duration":{"type":"number","description":"Duration in minutes (default: 30)"},"locationType":{"type":"string","enum":["video","phone","in_person","whatsapp","custom"],"description":"Meeting location type"},"locationValue":{"type":"string","description":"Location details (URL, address, phone)"},"bufferBefore":{"type":"number","description":"Buffer minutes before each booking"},"bufferAfter":{"type":"number","description":"Buffer minutes after each booking"},"minNotice":{"type":"number","description":"Minimum notice in minutes before booking"},"maxAdvance":{"type":"number","description":"Maximum advance booking in minutes"},"slotInterval":{"type":"number","description":"Slot interval in minutes (default: 15)"},"requireConfirmation":{"type":"boolean","description":"Require host confirmation for new bookings"},"reminderMinutes":{"type":"array","items":{"type":"number"},"description":"Array of reminder times in minutes before event (e.g. [1440, 60])"},"color":{"type":"string","description":"Hex color code"},"price":{"type":"number","description":"Price for paid bookings"},"currency":{"type":"string","description":"3-letter currency code (e.g. 'NGN')"}},"required":["calendarId","name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_flow","description":"Create a new automation flow. A flow is a directed graph of nodes connected by edges. The graph MUST start with at least one trigger node (entry point). Edges connect nodes via output handles.\n\nBEFORE BUILDING: call neuron_get_flow_catalog and read its `reference` — it carries the JSON shapes you cannot guess: the ConditionGroup + operator list for branch/filter/switch conditions, the `cases`/`assignments`/`weekdays` composite shapes, the handle wiring map, and copy-ready `examples`. Condition `field` on a logic node must be a {{template}} (e.g. '{{trigger.text}}'); on a trigger's config.conditions it is a raw payload path (e.g. 'text').\n\nAFTER SAVING: the flow always saves, but the response includes a `warnings` array flagging likely bugs (unknown node type, missing required field, malformed conditions/cases/assignments, edges wired to a handle a node never emits, missing trigger). Always check it and fix any warnings — a warning means that part will silently no-op at run time.\n\nTEMPLATE RESOLUTION: Node config values support {{…}} templates resolved at runtime:\n  {{trigger.text}} — the triggering message text\n  {{trigger.contactPhone}} — the sender's phone\n  {{trigger.senderName}} — the sender's name\n  {{vars.myVar}} — a variable set by logic.set_variable\n  {{nodes.n_abc.output.text}} — output from a previous node\n  {{= amount * 1.1 }} — inline expression (arithmetic, comparisons, ternary)\n\nERROR HANDLING: Any node's config can include __errorHandling: { continueOnFail: true, retryCount: 3, retryDelayMs: 1000 } to retry on failure with exponential backoff and/or continue on the 'error' handle instead of failing the run.\n\nWIRING RULES:\n  - logic.branch: 'true' and 'false' handles\n  - logic.switch / logic.ai_router: one handle per case id, plus 'default'\n  - logic.wait_for_reply: 'default' (replied) and 'timeout'\n  - logic.wait_for_approval: 'approved', 'rejected', 'timeout'\n  - logic.wait_first_of: 'reply', 'event', 'timeout'\n  - logic.loop: 'loop' (body) and 'done'\n  - action.lookup_contact: 'found' and 'not_found'\n  - action.call_flow: 'default' (returned), 'timeout', 'error'\n  - All other nodes: 'default' handle (or 'error' when continueOnFail is on)","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string","description":"Human-readable name for the flow."},"description":{"type":"string","description":"Optional description of what the flow does."},"graph":{"type":"object","properties":{"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Stable node id unique within the flow, e.g. 'n_a1b2' or 't_msg'."},"type":{"type":"string","description":"Registry key — e.g. 'trigger.message_received', 'logic.branch', 'action.send_message'. Use neuron_get_flow_catalog to see all available types."},"config":{"type":"object","additionalProperties":{},"default":{},"description":"Node-specific configuration. Values may contain {{…}} templates resolved at runtime against trigger, vars, and nodes."},"position":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"],"additionalProperties":false,"description":"Canvas position (UI layout). Use x=300 as center, space nodes ~160px apart vertically."},"label":{"type":"string","description":"Human label overriding the registry default."}},"required":["id","type"],"additionalProperties":false},"description":"Array of flow nodes."},"edges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique edge id, e.g. 'e_msg_reply'."},"source":{"type":"string","description":"Source node id."},"target":{"type":"string","description":"Target node id."},"sourceHandle":{"type":"string","description":"Which output port of the source node this edge leaves from. Branch nodes use 'true'/'false', switch/router use case ids, wait nodes use 'default'/'timeout', lookup uses 'found'/'not_found'. Defaults to 'default'."}},"required":["id","source","target"],"additionalProperties":false},"description":"Array of edges connecting nodes. Each edge fires when its source node emits on the matching sourceHandle."}},"required":["nodes","edges"],"additionalProperties":false,"description":"The flow graph — nodes and edges. Omit to create an empty flow (edit later in the UI)."},"enabled":{"type":"boolean","description":"Whether the flow should be active immediately (default: false)."}},"required":["name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_group","description":"Create a new WhatsApp group and seed its members from any combination of sources: other groups (combine/copy), contact lists, individual contacts, pasted phone numbers, or the whole address book. Optionally pass a unique `slug` to address the group later without its JID. Members blocked by privacy come back in the failed list. Uses the org's default connected session unless `channelId` is given.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"subject":{"type":"string","minLength":1,"maxLength":100,"description":"Group name"},"channelId":{"type":"string","description":"Session (connected WhatsApp number) UUID. Omit to use the default."},"slug":{"type":"string","description":"Optional org-unique handle (lowercase letters, numbers, hyphens)"},"description":{"type":"string","description":"Optional group description"},"ifExists":{"type":"string","enum":["return","error"],"description":"When the slug is already taken: 'error' (default) fails, 'return' returns the existing group and adds any given members to it (idempotent create)."},"fromGroupIds":{"type":"array","items":{"type":"string"},"description":"Copy/combine members live from these WhatsApp group JIDs"},"listIds":{"type":"array","items":{"type":"string"},"description":"Contact list ids or slugs — pulls every member"},"contactIds":{"type":"array","items":{"type":"string"},"description":"Existing contact ids"},"phones":{"type":"array","items":{"type":"string"},"description":"Raw phone numbers, e.g. pasted from a CSV"},"allContacts":{"type":"boolean","description":"Union the org's entire address book"},"tags":{"type":"array","items":{"type":"string"},"description":"Keep only contacts carrying one of these tags"},"excludeListIds":{"type":"array","items":{"type":"string"},"description":"Subtract every member of these lists"}},"required":["subject"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_kb_entry","description":"Add a new entry (note, document, or information piece) to a knowledge base.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the knowledge base"},"title":{"type":"string","description":"Title of the entry"},"content":{"type":"string","description":"Content or body of the entry"},"source":{"type":"string","enum":["manual","document","url"],"description":"Source type of the entry (default: manual)"},"folder":{"type":"string","description":"Folder to organize the entry: 'general', 'skills', 'contexts', 'documents', or 'faqs' (default: general)"},"metadata":{"type":"object","additionalProperties":{},"description":"Optional metadata key-value pairs for the entry"}},"required":["id","title","content"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_knowledge_base","description":"Create a new knowledge base to store and organize information, documents, and entries.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string","description":"Name of the knowledge base"},"description":{"type":"string","description":"Optional description of the knowledge base purpose"},"rootInstruction":{"type":"string","description":"Optional root instruction or context for the knowledge base"}},"required":["name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_lead_source","description":"Create a lead source. `config` depends on type: text_paste {text}; web_scrape {url|urls[]}; document {mediaUrl,mimeType}; tool_output {toolId,args?}; instagram/x {channelId, query?|hashtag?, limit?}; csv {rows[]}; stream {triggerTaskId?} (fed by the ingest endpoint). Set scheduleKind cron/interval/once for recurring (schedule: cron {time,days?} / interval {everyMinutes} / once {runAt}).","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string","enum":["csv","text_paste","document","web_scrape","tool_output","instagram","x","facebook","tiktok","stream"],"description":"Lead source type. facebook = Meta Ads Library advertisers; web/IG/X/FB scraping needs DeepAPI configured; TikTok has no native provider (use tool_output)."},"config":{"type":"object","additionalProperties":{}},"scheduleKind":{"type":"string","enum":["cron","interval","once","manual"]},"schedule":{"type":"object","additionalProperties":{}},"timezone":{"type":"string"},"enabled":{"type":"boolean"}},"required":["name","type"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_list_campaign","description":"Create a paced campaign that messages the next N un-reached members of a contact list on a schedule. The cursor follows the LIVE list — as members are added or removed, only current members get reached, and nobody is messaged twice per cycle. Multiple campaigns can run on the same or different lists concurrently. On exhaust, either stop or loop (start over after a cooldown).","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"listId":{"type":"string","format":"uuid","description":"The contact list to run the campaign over"},"name":{"type":"string","maxLength":255,"description":"Campaign name (default: 'Campaign')"},"sendMode":{"type":"string","enum":["message","bot"],"description":"'message' sends a plain broadcast; 'bot' initiates the conversation through a bot (default: 'message')"},"botId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"Bot to send through when sendMode='bot'; its channel is used"},"channelId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"WhatsApp channel to send from; falls back to the org default / first connected channel"},"messageSource":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"static"},"text":{"type":"string","minLength":1,"description":"The message body sent to each contact in the batch"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"rotation"},"messages":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"description":"Pool of messages"},"mode":{"type":"string","enum":["sequential","random"],"description":"Rotate in order (default) or pick randomly per run"}},"required":["kind","messages"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"content"},"ref":{"type":"string","minLength":1,"description":"A Neuron Note ID; its content becomes the message, fetched live at each run"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"ai"},"prompt":{"type":"string","minLength":1,"description":"Instruction for the message the AI should write"},"botId":{"type":"string","format":"uuid","description":"Bot whose system prompt supplies business context"},"personaId":{"type":"string","format":"uuid","description":"Persona whose voice the message is written in"},"perContact":{"type":"boolean","description":"Generate a distinct message per recipient (slower, more tokens). Default false = one message for the whole batch"}},"required":["kind","prompt"],"additionalProperties":false,"description":"AI-written message generated live at each run (BYOK-aware)"},{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"url":{"type":"string","format":"uri","description":"POSTed { campaignId, listId, contact? }; returns { message } or a bare string"},"perContact":{"type":"boolean","description":"Call once per recipient with the contact in the payload. Default false = one call per batch"}},"required":["kind","url"],"additionalProperties":false,"description":"Message fetched from your webhook at each run"}],"description":"How the message is resolved live at each batch run: 'static' (fixed), 'rotation' (cycle through several), 'ai' (AI-written), 'webhook' (from your service), or 'content' (a saved Neuron Note)."},"batchSize":{"type":"integer","minimum":1,"maximum":1000,"description":"How many contacts to message per run (default: 20)"},"schedule":{"allOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"everyMs":{"type":"integer","minimum":60000,"description":"Milliseconds between runs, e.g. 86400000 for daily"}},"required":["kind","everyMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"daily"},"hour":{"type":"integer","minimum":0,"maximum":23,"description":"UTC hour"},"minute":{"type":"integer","minimum":0,"maximum":59}},"required":["kind","hour"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"weekly"},"days":{"type":"array","items":{"type":"integer","minimum":0,"maximum":6},"minItems":1,"description":"Days of week, 0=Sun … 6=Sat"},"hour":{"type":"integer","minimum":0,"maximum":23,"description":"UTC hour"},"minute":{"type":"integer","minimum":0,"maximum":59}},"required":["kind","days","hour"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"monthly"},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"hour":{"type":"integer","minimum":0,"maximum":23,"description":"UTC hour"},"minute":{"type":"integer","minimum":0,"maximum":59}},"required":["kind","dayOfMonth","hour"],"additionalProperties":false}]},{"type":"object","properties":{"timezone":{"type":"string","description":"IANA timezone the daily/weekly/monthly time is interpreted in, e.g. 'Africa/Lagos'. Defaults to UTC. Ignored for 'interval'. The schedule holds its local wall-clock time across DST."},"endAt":{"type":"string","description":"ISO date; the campaign completes after this"},"maxRuns":{"type":"integer","minimum":1,"description":"Stop after this many runs"}}}],"description":"When each batch fires. e.g. daily at 9am in Africa/Lagos, or every weekend."},"onExhaust":{"type":"string","enum":["stop","loop"],"description":"When the whole list has been reached: 'stop' (default) completes the campaign; 'loop' starts a new cycle after loopCooldownMs"},"loopCooldownMs":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"description":"Milliseconds to wait before looping (default: 24h)"},"startImmediately":{"type":"boolean","description":"Fire the first batch right away (default: true). Set false to wait for the first scheduled slot"}},"required":["listId","messageSource","schedule"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_newsletter","description":"Create a new WhatsApp Channel newsletter for one-way broadcast updates. Requires a connected Baileys session on the specified channel.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"Identifier (UUID) of the WhatsApp session channel to create the newsletter on"},"name":{"type":"string","description":"Display name of the newsletter visible to subscribers"},"description":{"type":"string","description":"Description of the newsletter's purpose and content"}},"required":["channelId","name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_outbound_webhook","description":"Register a new outbound webhook that sends HTTP POST requests to an external URL when specified bot events occur. Supported events: message.created, message.assistant, conversation.created, conversation.escalated, conversation.closed, bot.paused, bot.resumed.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to create the outbound webhook for"},"name":{"type":"string","description":"Human-readable name for the outbound webhook"},"url":{"type":"string","description":"Destination URL that will receive webhook event payloads (HTTPS recommended)"},"eventTypes":{"type":"array","items":{"type":"string","enum":["message.created","message.assistant","conversation.created","conversation.escalated","conversation.closed","bot.paused","bot.resumed"]},"description":"Array of event types that should trigger this webhook"},"filterPrompt":{"type":"string","description":"Optional LLM prompt to selectively filter which events are forwarded (e.g., 'only forward escalations about billing')"}},"required":["botId","name","url","eventTypes"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_product","description":"Create a digital product/service with a public checkout link. Amount in kobo (minor units): ₦1 = 100. Minimum ₦500 = 50000. For 'file' delivery, upload the file first (neuron_upload_media) and pass its URL as deliveryFileUrl. On payment, Neuron confirms it and delivers the product to the buyer's WhatsApp automatically.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"title":{"type":"string","description":"Product title shown to buyers"},"description":{"type":"string","description":"Rich description / what the buyer gets"},"priceMinor":{"type":"integer","description":"Current price (charged). Amount in kobo (minor units): ₦1 = 100. Minimum ₦500 = 50000. Set 0 for a free product (no payment)."},"originalPriceMinor":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Optional compare-at / 'was' price (kobo), shown struck through. Must be ≥ current price."},"currency":{"type":"string","description":"ISO currency (default NGN)"},"channelId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"WhatsApp session UUID used to deliver the product (defaults to the org default channel)"},"deliveryType":{"type":"string","enum":["file","link","code"],"description":"How the product is delivered: 'file' (uploaded file), 'link' (URL), or 'code' (text/code)"},"deliveryFileUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}],"description":"For deliveryType 'file': the uploaded file URL (upload first with neuron_upload_media)"},"deliveryFileName":{"type":["string","null"],"description":"Filename shown in the WhatsApp document"},"deliveryText":{"type":["string","null"],"description":"For 'link'/'code': the link or code the buyer receives. Optional note for 'file'."},"coverImageUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}],"description":"Cover image URL"},"coverEmoji":{"type":["string","null"],"description":"Emoji used as a cover fallback (e.g. 📓)"},"coverType":{"type":"string","enum":["none","emoji","image","color","gradient"],"description":"How the cover renders"},"coverColor":{"type":["string","null"],"description":"Cover colour (hex) for 'color'/'gradient' cover types"},"coverColor2":{"type":["string","null"],"description":"Second colour (hex) for 'gradient' cover"},"content":{"type":"array","description":"Rich product-page content blocks. Ordered array of {type, ...}: heading {text,level}, text {markdown}, image {url,caption}, video {url}, callout {emoji,text}, collapsible {title,blocks[]}, divider {}, button {label,url}, embed {url}, spacer {}"},"theme":{"type":"object","additionalProperties":{"type":"string"},"description":"Per-product theme: { bg, accent, text (hex), mode: 'light'|'dark', layout: 'hero'|'side', coverAspect: '16/10'|'3/2'|'1/1'|'4/5', cta: buy-button label e.g. 'Reserve your hour' }"},"checkoutFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"type":{"type":"string","enum":["text","textarea","number","email","phone","select"]},"required":{"type":"boolean"},"placeholder":{"type":"string"},"options":{"type":"array","items":{"type":"string"}}},"required":["key","label","type"],"additionalProperties":false},"description":"Custom checkout questions the buyer answers (name, address, specs/customisations…). Their answers are attached to the order and sent to the seller."},"kind":{"type":["string","null"],"description":"Short label e.g. 'E-book', 'Presets', 'Service'"},"category":{"type":["string","null"],"description":"Category label e.g. 'Productivity'"},"codeMode":{"type":"string","enum":["shared","pool","generated"],"description":"For deliveryType 'code': 'shared' (same text to every buyer), 'pool' (a unique code per sale from codes you upload — sells out when empty), or 'generated' (auto-mint a unique license key per sale)"},"codes":{"type":"array","items":{"type":"string"},"description":"For codeMode 'pool': the unique codes/keys to add (one gets sent per buyer). Appended to any existing pool."},"feePayer":{"type":"string","enum":["buyer","seller"],"description":"'buyer' (fee added on top, seller gets full price — default) or 'seller' (fee deducted)"},"enabled":{"type":"boolean","description":"Whether the product is live"},"membership":{"type":"boolean","description":"Make this a recurring subscription/membership: it tracks a paid period per buyer, renews from their Neuron wallet when possible (else emails a reminder — no card auto-charge), and marks them lapsed when the period + grace passes. React to membership.started/renewed/lapsed in Flows to deliver whatever the membership grants."},"membershipInterval":{"anyOf":[{"type":"string","enum":["daily","weekly","monthly"]},{"type":"null"}],"description":"Billing period. Required when membership is true."},"membershipGraceDays":{"type":"integer","minimum":0,"description":"Days after the period ends before an unpaid member lapses (and, if a group is attached, is removed from it). Default 1."},"membershipGroupSlug":{"type":["string","null"],"description":"OPTIONAL: attach a WhatsApp group as a membership perk. Org-unique handle (lowercase letters, numbers, hyphens); the group is created on the first sale, buyers are added on renewal and removed on lapse. Your connected number must be a group admin. Omit for a membership that isn't group-based."},"membershipGroupName":{"type":["string","null"],"description":"Group subject used when the attached group is auto-created (defaults to the product title). Only relevant with membershipGroupSlug."}},"required":["title","priceMinor","deliveryType"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_sms_campaign","description":"Create a draft SMS campaign. Choose the audience via sourceType: 'all_contacts' or 'contact_list' (your own contacts), 'phones' (bring your own list — raw numbers you pass in), 'platform' (the wider Neuron audience — budget required, sent over the bulk campaign route), or 'curated' (SMS-opted-in marketplace lists via poolEntryIds; the list owner earns ₦2/contact). After creating, call neuron_estimate_sms_campaign to price it, then neuron_send_sms_campaign. Requires SMS to be enabled by an admin and a configured provider.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"title":{"type":"string","description":"Internal campaign title"},"message":{"type":"string","description":"The SMS text to send. Include an opt-out (e.g. 'Reply STOP')."},"type":{"type":"string","enum":["blast","drip"],"description":"'blast' sends to everyone at once (default); 'drip' sends in scheduled batches"},"sourceType":{"type":"string","enum":["all_contacts","contact_list","phones","platform","curated"],"description":"Audience source"},"sourceListIds":{"type":"array","items":{"type":"string"},"description":"Contact list UUIDs (required when sourceType is 'contact_list')"},"phones":{"type":"array","items":{"type":"string"},"description":"Raw phone numbers to text (required when sourceType is 'phones'); normalized + de-duplicated server-side, invalid ones dropped"},"poolEntryIds":{"type":"array","items":{"type":"string"},"description":"SMS-enabled list-pool entry UUIDs (required when sourceType is 'curated'; find them with neuron_browse_list_pool { smsEnabled: true })"},"countryCodes":{"type":"array","items":{"type":"string"},"description":"Restrict to these country calling codes (e.g. ['234']). Omit for all."},"smsChannelId":{"type":"string","description":"BYOK SMS channel UUID to send through instead of the platform provider"},"budget":{"type":"number","description":"Budget in kobo (required for sourceType 'platform'; caps how many messages send)"}},"required":["title","message","sourceType"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_social_channel","description":"Create a new social media channel with platform credentials. Supports Instagram and Twitter/X. Credentials should be the full session JSON including account, cookies, headers, and platform-specific tokens.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"platform":{"type":"string","enum":["instagram","twitter"],"description":"Social media platform: 'instagram' or 'twitter'"},"label":{"type":"string","description":"Display name for the channel (e.g., 'Brand IG Account')"},"username":{"type":"string","description":"Social media username (without @)"},"credentials":{"type":"string","description":"Session credentials as JSON string with account, session.cookies, session.headers, etc."}},"required":["platform","label"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_task","description":"Create a scheduled autonomous task for a bot. The instruction is a self-contained, natural-language directive the bot executes with its tools (find stale conversations, message contacts, schedule follow-ups, etc.). Sends are always screened against Do-Not-Contact, a per-run cap, and a no-repeat window.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"UUID of the bot"},"title":{"type":"string","description":"Short title for the task"},"instruction":{"type":"string","description":"What the task should do, in natural language (self-contained; preserve any exact message copy verbatim)."},"scheduleKind":{"type":"string","enum":["cron","interval","once","manual"],"description":"cron = recurring at a clock time (slot); interval = every N minutes; once = a single future moment; manual = only runs on demand."},"schedule":{"type":"object","additionalProperties":{},"description":"Schedule payload matching scheduleKind. cron: { time: 'HH:MM', days?: number[] } (0=Sunday..6=Saturday; empty/omitted = every day). interval: { everyMinutes: number }. once: { runAt: ISO8601 string }. manual: {}."},"timezone":{"type":"string","description":"IANA timezone (e.g. Africa/Lagos). Defaults to UTC."},"enabled":{"type":"boolean","description":"Whether the task is active (default true)."},"config":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel UUID to act on (defaults to the bot's primary)."},"maxActions":{"type":"integer","description":"Hard cap on outbound actions per run (default 25)."},"noRepeatDays":{"type":"integer","description":"Never re-message the same contact within this many days (default 14)."},"requiresApproval":{"type":"boolean","description":"Ask an admin on WhatsApp to approve before the task sends."},"approvalPhone":{"type":"string","description":"Admin phone (international format) to send the approval prompt to."},"dryRun":{"type":"boolean","description":"Simulate the run without actually sending messages."}},"additionalProperties":false,"description":"Safety / execution config for the task."}},"required":["botId","title","instruction","scheduleKind"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_tool","description":"Create a custom API tool that the bot can invoke during conversations to fetch external data or trigger actions.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to create the tool for"},"name":{"type":"string","description":"Human-readable name for the tool"},"description":{"type":"string","minLength":1,"maxLength":1000,"description":"Description of what the tool does and when the bot should use it"},"type":{"type":"string","enum":["http_api","webhook","mcp"],"description":"Type of the tool integration"},"config":{"type":"object","properties":{"endpoint":{"type":"string","description":"Target HTTP endpoint URL for http_api tools"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"description":"HTTP method to use"},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"HTTP headers to include with each request as key-value pairs"},"bodyTemplate":{"type":"string","description":"Handlebars template for the request body, populated with conversation context"},"parametersSchema":{"type":"object","additionalProperties":{},"description":"JSON Schema describing the parameters the tool accepts"},"mcpServerUrl":{"type":"string","description":"MCP server URL for mcp-type tools"},"webhookUrl":{"type":"string","description":"Webhook URL for webhook-type tools"},"asyncConfig":{"type":"object","properties":{"pollingEndpoint":{"type":"string","description":"URL template with {{jobId}} placeholder for polling job status"},"pollingIntervalMs":{"type":"number","minimum":500,"maximum":30000,"description":"Milliseconds between poll requests (default: 2000)"},"maxPollingMs":{"type":"number","minimum":5000,"maximum":300000,"description":"Maximum time to poll before timeout (default: 120000)"},"jobIdPath":{"type":"string","description":"Dot-notation path to extract job ID from initial response (e.g. 'id', 'request_id')"},"statusPath":{"type":"string","description":"Dot-notation path to status field in poll response (e.g. 'status')"},"completedStatuses":{"type":"array","items":{"type":"string"},"description":"Status values indicating completion (e.g. ['COMPLETED', 'succeeded'])"},"failedStatuses":{"type":"array","items":{"type":"string"},"description":"Status values indicating failure (e.g. ['FAILED', 'failed', 'canceled'])"},"resultPath":{"type":"string","description":"Dot-notation path to extract final result from completed response (e.g. 'output')"}},"additionalProperties":false,"description":"Configuration for async submit-poll-download APIs like fal.ai and Replicate"}},"additionalProperties":false,"description":"Tool configuration specifying the endpoint and request details"},"authType":{"type":"string","enum":["none","api_key","bearer","basic","oauth2"],"description":"Authentication type for the endpoint"},"rateLimit":{"type":"number","description":"Maximum number of requests per minute allowed for this tool"},"timeoutMs":{"type":"number","description":"Request timeout in milliseconds (default: 30000)"}},"required":["botId","name","description","type","config"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_create_webhook","description":"Register a new inbound webhook endpoint that triggers bot actions when called by an external service.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to create the webhook for"},"name":{"type":"string","description":"Human-readable name for the webhook"},"slug":{"type":"string","description":"URL-friendly slug for the webhook endpoint (auto-generated if omitted)"},"eventType":{"type":"string","description":"Type of event this webhook handles (e.g., 'order.created', 'payment.received')"},"processingPrompt":{"type":"string","description":"Prompt instructions to guide bot processing of incoming webhook data"},"isActive":{"type":"boolean","description":"Whether the webhook is active and accepting requests (default: true)"}},"required":["botId","name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_ad_request","description":"Permanently delete a draft ad request. Only ad requests in draft status can be deleted.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"adRequestId":{"type":"string","description":"Unique identifier (UUID) of the draft ad request to delete"}},"required":["adRequestId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_blog_post","description":"Permanently delete a blog post by its ID. This action cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the blog post to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_bot","description":"Permanently delete a bot and all its associated data. This action cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the bot to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_broadcast","description":"Permanently delete a broadcast and its recipient data. This action cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the broadcast to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_calendar","description":"Permanently delete a calendar and all its event types, bookings, and availability data.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Calendar UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_campaign","description":"Permanently delete a campaign that is in 'draft' status. Active or funded campaigns cannot be deleted.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the draft campaign to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_channel","description":"Permanently delete a WhatsApp channel and disconnect any active sessions. This action cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the channel to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_contact","description":"Permanently delete a contact and remove them from all contact lists. This action cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the contact to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_contact_list","description":"Permanently delete a contact list. System-protected lists (e.g., 'Do Not Contact') cannot be deleted.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"idOrSlug":{"type":"string","description":"Unique identifier (UUID) or URL-friendly slug of the contact list to delete"}},"required":["idOrSlug"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_event","description":"Delete a host-created event. For recurring events, use scope to control what gets deleted: 'single' (just this one), 'future' (this and all future), or 'all' (entire series).","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Event (booking) UUID"},"scope":{"type":"string","enum":["single","future","all"],"description":"Delete scope for recurring events (default: 'single')"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_event_type","description":"Permanently delete an event type and all its bookings.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Event type UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_flow","description":"Soft-delete a flow. It stops running but can be restored. Running executions are not cancelled.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the flow to delete."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_flow_run","description":"Permanently delete a completed, failed, or cancelled flow run and all its step data.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"runId":{"type":"string","description":"UUID of the run to delete."}},"required":["runId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_kb_entry","description":"Permanently delete a specific entry from a knowledge base.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"kbId":{"type":"string","description":"Unique identifier of the knowledge base"},"entryId":{"type":"string","description":"Unique identifier of the entry to delete"}},"required":["kbId","entryId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_knowledge_base","description":"Permanently delete a knowledge base and all its associated entries and documents.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the knowledge base to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_list_campaign","description":"Permanently delete a paced list campaign and its reached-set. Does not delete the contacts or the list.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Campaign ID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_message","description":"Permanently delete a specific message from a conversation. This action cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the conversation"},"msgId":{"type":"string","description":"Unique identifier (UUID) of the message to delete"}},"required":["id","msgId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_newsletter","description":"Permanently delete a WhatsApp Channel newsletter and remove it from WhatsApp. This action cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the newsletter to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_outbound_webhook","description":"Permanently remove an outbound webhook. The external endpoint will no longer receive event notifications from this bot.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the outbound webhook to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_override","description":"Remove a date-specific availability override, reverting to the default weekly hours.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"overrideId":{"type":"string","description":"Override UUID"}},"required":["overrideId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_persona","description":"Delete a voice persona.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Persona UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_product","description":"Permanently delete a product. Existing orders are retained.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Product UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_sms_campaign","description":"Delete a draft SMS campaign. Only draft campaigns can be deleted.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"campaignId":{"type":"string","description":"UUID of the draft SMS campaign to delete"}},"required":["campaignId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_social_channel","description":"Permanently delete a social media channel and disconnect any active sessions. This action cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the social channel to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_task","description":"Delete a scheduled task. This is a soft delete — the task stops running immediately.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the task"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_tool","description":"Permanently remove a custom API tool integration from a bot. The bot will no longer be able to invoke this tool in conversations.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the tool to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_delete_webhook","description":"Permanently remove an inbound webhook from a bot. External services will no longer be able to trigger this endpoint.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the webhook to delete"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_deliver_order","description":"Re-send a paid-but-undelivered order to the buyer over WhatsApp/email. Use when a sale settled while no WhatsApp session was connected; connect one first, then deliver.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Order UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_detach_knowledge_base","description":"Remove a knowledge base from a bot. The bot will no longer reference this knowledge base when generating responses.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the bot"},"kbId":{"type":"string","description":"Unique identifier (UUID) of the knowledge base to detach"}},"required":["id","kbId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_draft_task","description":"Turn a plain-English description into a structured task spec (title, instruction, scheduleKind, schedule, timezone, config) WITHOUT creating it. Use the returned draft as input to neuron_create_task after any edits.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"UUID of the bot"},"prompt":{"type":"string","description":"Plain-English description of the task, e.g. 'every morning at 8am, message 10 people we haven't heard from in 10+ days with our intro offer'."},"timezone":{"type":"string","description":"IANA timezone to assume (e.g. Africa/Lagos)."}},"required":["botId","prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_duplicate_product","description":"Clone an existing product into a hidden draft copy (new checkout link, '(copy)' title, reset counters). A 'pool' code product is cloned with an empty pool — restock codes before enabling. Edit the copy with neuron_update_product, then set enabled: true to publish.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Product UUID to clone"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_edit_message","description":"Edit the content of a previously sent message in a conversation. Only the message sender can edit their messages.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the conversation"},"msgId":{"type":"string","description":"Unique identifier (UUID) of the message to edit"},"content":{"type":"string","description":"New text content to replace the existing message"}},"required":["id","msgId","content"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_enroll_members","description":"Manually enroll existing / off-platform people into a membership product WITHOUT a payment. Use this to backfill members who were already in the WhatsApp group before you switched membership on, so the renewal + eviction cycle applies to them too. No order or revenue is booked. Each enrolled member gets a free first period (firstPeriodDays, or one normal interval by default), then renews like everyone else — reminder-only until they connect a Neuron account (no auto-charge). Existing members are left untouched (counted as skipped). Returns { enrolled, skipped, total }.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Product UUID (must be a membership product)"},"members":{"type":"array","items":{"type":"object","properties":{"phone":{"type":"string","description":"Phone number (any format; non-digits stripped)"},"name":{"type":"string","description":"Display name (optional)"}},"required":["phone"],"additionalProperties":false},"description":"People to enroll. Omit when using fromGroup."},"firstPeriodDays":{"type":"integer","minimum":0,"maximum":3650,"description":"Free days before their first renewal. Omit to grant one normal interval (daily/weekly/monthly)."},"addToGroup":{"type":"boolean","description":"Also add each phone to the attached WhatsApp group (for people not yet in it). Default false = assume they're already in."},"fromGroup":{"type":"boolean","description":"Pull every current participant of the product's attached group and enroll them all."},"silent":{"type":"boolean","description":"Suppress the membership.started event so welcome/onboarding flows don't fire — recommended for a bulk backfill of people who are already in."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_estimate_sms_campaign","description":"Price a draft SMS campaign before sending: returns recipient count, SMS provider cost, curated owner payout (₦2/contact), and the total in kobo. Call this before neuron_send_sms_campaign.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"campaignId":{"type":"string","description":"UUID of the draft SMS campaign"}},"required":["campaignId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_export_contacts","description":"Export all contacts as a downloadable dataset for the current organization.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_extract_leads","description":"Run a one-off extraction WITHOUT creating a persistent source, saving the results to the lead pool. Great for pasted text or a web page. `type` + `config` as in neuron_create_lead_source (e.g. type='text_paste', config={text}).","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"type":{"type":"string","enum":["csv","text_paste","document","web_scrape","tool_output","instagram","x","facebook","tiktok","stream"],"description":"Lead source type. facebook = Meta Ads Library advertisers; web/IG/X/FB scraping needs DeepAPI configured; TikTok has no native provider (use tool_output)."},"config":{"type":"object","additionalProperties":{}}},"required":["type","config"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_find_contact_lists_for_contact","description":"Retrieve all contact lists that a specific contact belongs to.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"contactId":{"type":"string","description":"Unique identifier (UUID) of the contact to look up"}},"required":["contactId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_forward_message","description":"Forward a WhatsApp message from one chat to another. Uses copy-send approach — the message content is re-sent to the destination.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"messageId":{"type":"string","description":"WhatsApp message ID to forward"},"from":{"type":"string","description":"Source chat JID"},"to":{"type":"string","description":"Destination chat JID"}},"required":["channelId","messageId","from","to"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_fund_ad_request","description":"Fund an approved ad request from the organization wallet. This debits the budget amount and activates the campaign for distribution. If wallet balance is insufficient, returns shortfall information instead of an error.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"adRequestId":{"type":"string","description":"Unique identifier (UUID) of the approved ad request to fund"}},"required":["adRequestId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_fund_campaign","description":"Fund an approved campaign by deducting the total budget from the organization's wallet balance. Requires sufficient wallet funds.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the approved campaign to fund"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_fund_wallet","description":"Initialize a wallet funding transaction via Paystack. Returns a checkout URL to complete the payment in a browser.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"description":"Amount to fund in the smallest currency unit — kobo for NGN (e.g., 500000 = NGN 5,000)"},"email":{"type":"string","format":"email","description":"Email address to receive the payment receipt"}},"required":["amount","email"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_generate_from_persona","description":"Generate content written in the persona's voice for a topic/brief. Returns N variations. Stateless — nothing is persisted.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Persona UUID"},"topic":{"type":"string","description":"What to write about."},"platform":{"type":"string","description":"Target platform (instagram/x/tiktok/linkedin/facebook/whatsapp...)."},"format":{"type":"string","description":"Desired format (post, reply, caption, thread, DM...)."},"count":{"type":"integer","minimum":1,"maximum":10,"description":"Number of variations (1-10, default 1)."},"extraInstructions":{"type":"string"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_ad_request","description":"Get detailed information about a specific ad request, including pool selections if targeting mode is manual.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"adRequestId":{"type":"string","description":"Unique identifier (UUID) of the ad request"}},"required":["adRequestId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_ad_request_analytics","description":"Retrieve delivery analytics and performance breakdown for a specific ad request, including delivery rates and cost metrics.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"adRequestId":{"type":"string","description":"Unique identifier (UUID) of the ad request to get analytics for"}},"required":["adRequestId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_approval","description":"Fetch a single approval request by id, including its decision once resolved. Set waitSeconds (1–60) to long-poll until it resolves. Requires a bot API key.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"apiKey":{"type":"string","description":"Bot API key with 'nrn_' prefix for authentication"},"approvalId":{"type":"string","description":"The approval request id (UUID)"},"waitSeconds":{"type":"integer","minimum":1,"maximum":60,"description":"Long-poll up to N seconds for resolution"}},"required":["apiKey","approvalId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_availability","description":"Retrieve the default availability schedule (weekly hours + timezone) for a calendar.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"calendarId":{"type":"string","description":"Calendar UUID"}},"required":["calendarId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_available_slots","description":"Compute available time slots for an event type over a date range, accounting for availability, existing bookings, buffers, and Google Calendar busy times.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"eventTypeId":{"type":"string","description":"Event type UUID"},"from":{"type":"string","description":"Start date (YYYY-MM-DD)"},"to":{"type":"string","description":"End date (YYYY-MM-DD)"},"timezone":{"type":"string","description":"Invitee timezone for display"}},"required":["eventTypeId","from","to"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_bank_account","description":"Retrieve the saved bank account details currently configured as the organization's payout destination.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_billing","description":"Retrieve the current billing information, subscription plan, and usage details for the organization.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_blocklist","description":"Fetch the list of all blocked WhatsApp contacts for the bot on the given channel.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"}},"required":["channelId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_blog_post","description":"Retrieve a single blog post by its URL-friendly slug, including full content and metadata.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"slug":{"type":"string","description":"URL-friendly slug of the blog post (e.g., 'my-first-post')"}},"required":["slug"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_booking","description":"Retrieve details of a specific booking.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Booking UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_bot","description":"Retrieve detailed information about a specific bot including its configuration, status, and associated resources.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the bot"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_bot_analytics","description":"Retrieve analytics and usage statistics for a specific bot, including message counts, response times, and conversation metrics.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the bot to retrieve analytics for"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_broadcast","description":"Retrieve detailed information about a specific broadcast, including its status, message content, and recipient summary.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the broadcast to retrieve"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_broadcast_recipients","description":"Retrieve the paginated list of recipients for a specific broadcast with their individual delivery status.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the broadcast"},"status":{"type":"string","description":"Filter recipients by delivery status (e.g., 'delivered', 'failed', 'pending')"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of recipients per page (default: 20)"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_business_profile","description":"Fetch the WhatsApp Business profile of an external contact, including description, website, category, and business hours.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"jid":{"type":"string","description":"Contact JID or phone number to look up (e.g. '2348012345678' or '2348012345678@s.whatsapp.net')"}},"required":["channelId","jid"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_calendar","description":"Retrieve details of a specific calendar by its ID.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Calendar UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_campaign","description":"Retrieve detailed information about a specific campaign including its status, budget, participants, and delivery metrics.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the campaign"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_channel","description":"Retrieve detailed information about a specific WhatsApp channel, including its configuration, type, and connection status.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the channel"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_channel_events","description":"Retrieve the event log for a channel, including connection events, message events, and errors. Supports pagination.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the channel"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (starts at 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of events to return per page"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_channel_qr","description":"Retrieve the current QR code for pairing a Baileys channel with WhatsApp. A session must be started first.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the Baileys channel"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_channel_status","description":"Retrieve the current connection status and session details for a specific channel (e.g., connected, disconnected, qr_pending).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the channel"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_collection","description":"Fetch a collection's metadata by id.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"The collection id."}},"required":["collectionId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_collection_items","description":"Browse the mined content in a collection — posts/comments/profiles with author, content, engagement and engagementScore. sort 'top' ranks by engagement (great for picking the best clips/posts to reuse or distill into a persona).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"collectionId":{"type":"string","description":"The collection id."},"sort":{"type":"string","enum":["top","recent"],"description":"top = highest engagement first (default recent)."},"type":{"type":"string","description":"Filter by item type (post|comment|profile|page|custom)."},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":200}},"required":["collectionId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_contact","description":"Retrieve detailed information about a specific contact including their tags, notes, and associated lists.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the contact"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_contact_list","description":"Retrieve detailed information about a specific contact list, including member count and configuration.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"idOrSlug":{"type":"string","description":"Unique identifier (UUID) or URL-friendly slug of the contact list"}},"required":["idOrSlug"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_contact_list_members","description":"Retrieve the members of a specific contact list with optional search filtering and pagination.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"idOrSlug":{"type":"string","description":"Unique identifier (UUID) or URL-friendly slug of the contact list"},"search":{"type":"string","description":"Search term to filter members by name or phone number"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of items per page (default: 20)"}},"required":["idOrSlug"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_conversation","description":"Retrieve detailed information about a specific conversation, including its status, participants, and metadata.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the conversation"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_eligible_contacts","description":"Retrieve contacts eligible to receive a campaign message. Respects deduplication rules and mutual contact requirements.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the campaign to check eligibility for"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_event_type","description":"Retrieve details of a specific event type.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Event type UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_flow","description":"Retrieve a single flow by id, including its full graph (nodes and edges), enabled status, and run stats.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the flow."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_flow_catalog","description":"Retrieve the COMPLETE catalog for authoring flows. ALWAYS call this first when building or editing a flow — do not rely on memory, the full node set changes. The response has two parts:\n  • `data`: every node type (all triggers, logic, and actions) with its config `fields` (including `options` enums and `required`), output `handles`, and `dynamicHandles`.\n  • `reference`: the authoring guide you need for anything non-trivial —\n      - `conditions`: the ConditionGroup JSON shape + the full operator vocabulary (used by branch/filter/switch/loop and trigger filters). Note: on LOGIC nodes a rule's `field` is a {{template}}; on a TRIGGER's config.conditions it is a raw payload path.\n      - `compositeFields`: the exact JSON for field kinds the flat schema can't express — `cases` (switch), `assignments` (set_fields), `weekdays`, and the delay amount/unit note.\n      - `triggerConditions`: every trigger also accepts an optional config.conditions AND/OR filter over the raw event payload.\n      - `templating`, `errorHandling` (__errorHandling), `handles` (wiring map), and `examples` (simple, branching AND/OR, and complex switch+set_fields+expression graphs to imitate).\nThe catalog is grouped by kind: trigger (entry points), logic (routing/waits/data), action (side effects). There are dozens of node types — read `data` for the authoritative list rather than assuming.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_flow_run","description":"Get a single flow run with its full step-by-step execution trace. Each step shows the node type, input/output, status (ok/error/skipped/wait), duration, and which handle fired. Use this to debug flows — see exactly what happened at each step.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"runId":{"type":"string","description":"UUID of the run."}},"required":["runId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_group_invite_link","description":"Get the invite link for a WhatsApp group. Only supported on Baileys channels where the bot is a group admin.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"groupJid":{"type":"string","description":"Group JID (ending in @g.us)"}},"required":["channelId","groupJid"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_group_participants","description":"Retrieve the list of participants in a specific WhatsApp group accessible through a channel.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the channel"},"groupJid":{"type":"string","description":"JID (Jabber ID) of the WhatsApp group (e.g., '120363XXX@g.us')"}},"required":["id","groupJid"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_knowledge_base","description":"Retrieve detailed information about a specific knowledge base by its ID.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the knowledge base"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_list_campaign","description":"Get a paced list campaign with live progress: how many members have been reached this cycle, the current list size, and how many remain.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Campaign ID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_messages","description":"Retrieve messages from a specific conversation in chronological order, with optional cursor-based pagination.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the conversation"},"cursor":{"type":"string","description":"Opaque pagination cursor from a previous response for retrieving the next page"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Maximum number of messages to return per page"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_newsletter","description":"Retrieve detailed information about a specific WhatsApp Channel newsletter, including subscriber count and metadata.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the newsletter to retrieve"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_organization","description":"Retrieve detailed information about a specific organization, including its name, settings, and configuration.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"orgId":{"type":"string","description":"Unique identifier (UUID) of the organization to retrieve"}},"required":["orgId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_outbound_webhook_logs","description":"Retrieve delivery logs for an outbound webhook to monitor event dispatch history and debug delivery failures.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the outbound webhook to get logs for"},"page":{"type":"number","description":"Page number for pagination (default: 1)"},"limit":{"type":"number","description":"Number of log entries per page (default: 20)"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_persona","description":"Get one voice persona (full voiceProfile + exemplars).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Persona UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_pool_item","description":"Retrieve detailed information about a specific item in the marketplace pool, including its description, category, tags, and install count.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the pool item to retrieve"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_privacy_settings","description":"Fetch the bot's current WhatsApp privacy settings (last seen, online, profile picture, status, read receipts, groups add).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"}},"required":["channelId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_product","description":"Get a single product by id, with its public URL and fee breakdown.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Product UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_profile","description":"Retrieve the authenticated user's profile information including name, email, role, and current organization.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_scheduled_message","description":"Retrieve detailed information about a specific scheduled message, including its status, send time, and message content.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the scheduled message"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_sms_campaign","description":"Retrieve a single SMS campaign with its status and delivery counters.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"campaignId":{"type":"string","description":"UUID of the SMS campaign"}},"required":["campaignId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_social_channel","description":"Retrieve detailed information about a specific social media channel, including its platform, credentials status, and connection state.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the social channel"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_social_channel_status","description":"Retrieve the current session status for a social media channel (e.g., connected, disconnected, error).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the social channel"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_storefront","description":"Get this seller's storefront profile (handle, display name, bio, branding) and its public URL.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_task_runs","description":"Retrieve the paginated execution history for a task — each run's status, AI summary, tool steps, and stats (messages sent, contacts processed).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the task"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number (default 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Items per page (default 20)"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_get_webhook_logs","description":"Retrieve execution logs for an inbound webhook to monitor incoming requests and debug processing issues.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the webhook to get logs for"},"page":{"type":"number","description":"Page number for pagination (default: 1)"},"limit":{"type":"number","description":"Number of log entries per page (default: 20)"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_google_calendar_disconnect","description":"Disconnect a calendar from Google Calendar sync.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"calendarId":{"type":"string","description":"Calendar UUID"}},"required":["calendarId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_google_calendar_status","description":"Check whether a calendar is connected to Google Calendar and when it last synced.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"calendarId":{"type":"string","description":"Calendar UUID"}},"required":["calendarId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_handle_join_requests","description":"Approve or reject pending join requests for a WhatsApp group. Requires admin privileges.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"groupJid":{"type":"string","description":"Group JID (ending in @g.us)"},"participants":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Array of phone numbers or JIDs of requesters"},"action":{"type":"string","enum":["approve","reject"],"description":"Whether to approve or reject the join requests"}},"required":["channelId","groupJid","participants","action"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_import_contacts","description":"Bulk import multiple contacts into the organization's address book. Accepts an array of contact objects with name, phone, and optional fields.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"contacts":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Full name of the contact"},"phone":{"type":"string","description":"Contact phone number in E.164 format (e.g., +2348012345678)"},"email":{"type":"string","description":"Email address of the contact"},"tags":{"type":"array","items":{"type":"string"},"description":"Tags to categorize the contact"},"notes":{"type":"string","description":"Additional notes about the contact"}},"required":["name","phone"],"additionalProperties":false},"description":"Array of contact objects to import into the organization"}},"required":["contacts"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_ingest_knowledge","description":"Ingest content into a knowledge base. Supports deduplication via externalId and optional LLM processing (summarize, extract_facts, or custom instruction).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"knowledgeBaseId":{"type":"string","description":"Knowledge base ID to ingest into"},"title":{"type":"string","description":"Title for the knowledge entry"},"content":{"type":"string","description":"Content to ingest"},"externalId":{"type":"string","description":"Unique external ID for deduplication (e.g. file path, URL)"},"sourceUrl":{"type":"string","description":"Source URL for reference"},"source":{"type":"string","enum":["api","mcp"],"default":"mcp","description":"Source type (default: mcp)"},"folder":{"type":"string","description":"Folder: 'general', 'skills', 'contexts', 'documents', or 'faqs' (default: general)"},"processing":{"type":"object","properties":{"mode":{"type":"string","enum":["raw","summarize","extract_facts","custom"],"default":"raw","description":"Processing mode"},"instruction":{"type":"string","description":"Custom instruction (only used with 'custom' mode)"}},"additionalProperties":false,"description":"Optional LLM processing before storage"}},"required":["knowledgeBaseId","title","content"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_install_from_pool","description":"Install a resource from the marketplace pool into the current organization. Choose 'fork' for an independent copy or 'subscribe' to receive future updates from the publisher.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the pool item to install"},"mode":{"type":"string","enum":["fork","subscribe"],"description":"Installation mode: 'fork' creates an independent copy, 'subscribe' links to publisher updates"},"targetBotId":{"type":"string","description":"UUID of the bot to attach the installed resource to (for tool_template or knowledge_base types)"},"targetKbId":{"type":"string","description":"UUID of the knowledge base to install into (for knowledge_base types)"}},"required":["id","mode"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_invite_member","description":"Send an invitation to a new member to join the organization. The invitee receives an email with a link to accept.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"orgId":{"type":"string","description":"Unique identifier (UUID) of the organization"},"email":{"type":"string","format":"email","description":"Email address of the person to invite"},"name":{"type":"string","description":"Full name of the person being invited"},"role":{"type":"string","description":"Role to assign to the member (e.g., 'admin', 'agent', 'viewer')"},"canViewConversations":{"type":"boolean","description":"Whether the invited member can view conversations (default: true)"}},"required":["orgId","email","name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_join_campaign","description":"Join a marketplace campaign as a participant to earn rewards by sending messages through your WhatsApp channel.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the campaign to join"},"channelId":{"type":"string","description":"Unique identifier (UUID) of your WhatsApp channel to send messages from"}},"required":["id","channelId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_lead_stats","description":"Counts of leads by status.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_leave_group","description":"Make the bot leave a WhatsApp group. This action is irreversible — the bot will need to be re-added by an admin.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"groupJid":{"type":"string","description":"Group JID (ending in @g.us)"}},"required":["channelId","groupJid"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_ad_requests","description":"Retrieve all ad requests for the current organization with optional status filtering and pagination.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"status":{"type":"string","description":"Filter by request status: 'draft', 'pending_review', 'approved', 'active', 'paused', 'completed', or 'rejected'"},"page":{"type":"number","description":"Page number for pagination (default: 1)"},"limit":{"type":"number","description":"Number of items per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_api_keys","description":"Retrieve all API keys associated with a specific bot, including their names, creation dates, expiration status, and revocation status.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot whose API keys to retrieve"}},"required":["botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_approvals","description":"List approval requests for the organization, newest first. Filter by status (pending/approved/rejected/expired/cancelled). Requires a bot API key.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"apiKey":{"type":"string","description":"Bot API key with 'nrn_' prefix for authentication"},"status":{"type":"string","description":"Filter: pending | approved | rejected | expired | cancelled"},"channelId":{"type":"string","description":"Filter by WhatsApp channel (UUID)"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number (default 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Items per page (default 25, max 100)"}},"required":["apiKey"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_audit_logs","description":"Retrieve audit logs for the organization, showing a chronological record of actions performed by members. Supports filtering by action type and resource.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of log entries per page (default: 20)"},"action":{"type":"string","description":"Filter by action type (e.g., 'CREATE', 'UPDATE', 'DELETE')"},"resourceType":{"type":"string","description":"Filter by resource type (e.g., 'USER', 'ORGANIZATION', 'BOT', 'CAMPAIGN')"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_blog_posts","description":"Retrieve a paginated list of blog posts with optional filtering by status, author type, author ID, or tag.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"status":{"type":"string","enum":["draft","published","hidden"],"description":"Filter posts by publication status"},"authorType":{"type":"string","enum":["user","organization"],"description":"Filter posts by author type"},"authorId":{"type":"string","description":"Filter posts by author identifier (UUID)"},"tag":{"type":"string","description":"Filter posts by tag slug (e.g., 'announcements')"},"page":{"type":"number","default":1,"description":"Page number for pagination (default: 1)"},"limit":{"type":"number","default":20,"description":"Number of results per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_bookings","description":"List bookings (inbound and host-created) with optional filters for calendar, status, date range, and source.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"calendarId":{"type":"string","description":"Filter by calendar UUID"},"status":{"type":"string","description":"Filter by status: confirmed, pending, cancelled, rescheduled, completed, no_show"},"from":{"type":"string","description":"Start date filter (ISO)"},"to":{"type":"string","description":"End date filter (ISO)"},"source":{"type":"string","description":"Filter by source: 'host', 'link', 'public_link'"},"page":{"type":"number","description":"Page number"},"limit":{"type":"number","description":"Items per page"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_bot_channels","description":"Retrieve all WhatsApp channels connected to a specific bot, including primary and secondary connections.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot"}},"required":["botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_bot_knowledge_bases","description":"Retrieve all knowledge bases attached to a specific bot, including their priorities and metadata.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the bot"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_bots","description":"Retrieve all bots accessible to the current user, including their configurations and status.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_broadcasts","description":"Retrieve a paginated list of all broadcasts with optional filtering by status such as draft, sent, or scheduled.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"status":{"type":"string","description":"Filter by broadcast status (e.g., 'draft', 'sent', 'scheduled')"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of broadcasts per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_builtin_tools","description":"Retrieve all available built-in tools with their enabled/disabled status for a specific bot. Built-in tools include WhatsApp actions (send messages, delete messages, post status), utility functions (web search, QR codes, weather), scheduling, knowledge base search, and more.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to list built-in tools for"}},"required":["botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_calendars","description":"Retrieve all booking calendars for the current organization.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_campaigns","description":"Retrieve all campaigns for the current organization with optional status filtering and pagination.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"status":{"type":"string","description":"Filter by campaign status: 'draft', 'active', 'paused', 'completed', 'stopped', or 'rejected'"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of campaigns per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_channel_groups","description":"Retrieve all WhatsApp groups that the channel is participating in, including group metadata.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the channel"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_channels","description":"Retrieve all WhatsApp channels configured in the current organization, including their type and connection status.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_collections","description":"List content collections (where web-agent missions and captures land). Returns each collection's item count, kind and source.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_contact_lists","description":"Retrieve all contact lists for the current organization with optional filtering by search term, type, and pagination.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"search":{"type":"string","description":"Search term to filter lists by name or slug"},"type":{"type":"string","description":"Filter by list type: 'static', 'dynamic', or 'merged'"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of items per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_contacts","description":"Retrieve all contacts for the current organization with optional filtering by search term, tag, and pagination.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"search":{"type":"string","description":"Search term to filter contacts by name, phone number, or email address"},"tag":{"type":"string","description":"Tag name to filter contacts by category"},"doNotBroadcast":{"type":"boolean","description":"Filter to contacts that are (true) or are not (false) excluded from broadcasts"},"doNotAutoRespond":{"type":"boolean","description":"Filter to contacts the bot will never (true) / may (false) auto-respond to"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of contacts per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_conversations","description":"Retrieve a paginated list of conversations for a specific bot, with optional filtering by status.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot whose conversations to list"},"status":{"type":"string","description":"Filter by conversation status (e.g., 'active', 'closed')"},"cursor":{"type":"string","description":"Opaque pagination cursor from a previous response for retrieving the next page"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Maximum number of conversations to return per page"}},"required":["botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_event_types","description":"Retrieve all event types, optionally filtered by calendar.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"calendarId":{"type":"string","description":"Filter by calendar UUID"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_events","description":"List host-created events, optionally filtered by calendar and date range.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"calendarId":{"type":"string","description":"Filter by calendar UUID"},"from":{"type":"string","description":"Start date filter (ISO)"},"to":{"type":"string","description":"End date filter (ISO)"},"page":{"type":"number","description":"Page number (default: 1)"},"limit":{"type":"number","description":"Items per page (default: 50)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_flow_runs","description":"List execution runs for a flow, newest first. Each run shows status (running/waiting/completed/failed/cancelled), trigger type, step count, and timing.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the flow."},"page":{"type":"integer","description":"Page number (default: 1)."},"limit":{"type":"integer","description":"Items per page (default: 20, max: 100)."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_flows","description":"List all automation flows in the organization. Returns each flow's id, name, description, enabled status, trigger events, run count, and last run time.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_installed","description":"List all items the current organization has installed from the marketplace pool.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_invitations","description":"Retrieve a list of all pending invitations for the organization that have not yet been accepted or revoked.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"orgId":{"type":"string","description":"Unique identifier (UUID) of the organization"}},"required":["orgId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_kb_bots","description":"Retrieve all bots that are connected to or using a specific knowledge base.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the knowledge base"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_kb_entries","description":"Retrieve entries from a knowledge base with optional filtering and pagination.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the knowledge base"},"page":{"type":"number","description":"Page number for pagination (starts at 1)"},"limit":{"type":"number","description":"Maximum number of entries to return per page"},"folder":{"type":"string","description":"Filter entries by folder ('general', 'skills', 'contexts', 'documents', 'faqs')"},"source":{"type":"string","description":"Filter entries by source type ('manual', 'document', 'url')"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_knowledge_bases","description":"Retrieve all knowledge bases accessible to the current user.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_lead_sources","description":"List configured lead sources for the org.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_leads","description":"List leads from the pool, filterable by status (new/enriched/contacted/converted/rejected), sourceId, and search.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"status":{"type":"string"},"sourceId":{"type":"string"},"search":{"type":"string"},"page":{"type":"integer","exclusiveMinimum":0},"limit":{"type":"integer","exclusiveMinimum":0}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_list_campaigns","description":"List all paced list campaigns for the organization, optionally filtered to a single contact list.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"listId":{"type":"string","format":"uuid","description":"Filter to campaigns on this contact list"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_members","description":"Retrieve a list of all members in the organization, including their roles and permissions.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"orgId":{"type":"string","description":"Unique identifier (UUID) of the organization"}},"required":["orgId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_newsletters","description":"Retrieve a paginated list of all WhatsApp Channel newsletters for the organization, with optional filtering by WhatsApp session channel.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"Filter newsletters by WhatsApp session channel identifier (UUID)"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of items per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_orders","description":"List recent product orders (sales) for this seller, with buyer, amount, fee breakdown, and status.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_organizations","description":"Retrieve all organizations the authenticated user belongs to, including their roles in each.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_outbound_webhooks","description":"Retrieve all outbound webhooks configured for a specific bot, including their target URLs and subscribed event types.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to list outbound webhooks for"}},"required":["botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_overrides","description":"List date-specific availability overrides for a calendar (e.g. holidays, special hours).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"calendarId":{"type":"string","description":"Calendar UUID"},"from":{"type":"string","description":"Start date filter (YYYY-MM-DD)"},"to":{"type":"string","description":"End date filter (YYYY-MM-DD)"}},"required":["calendarId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_payouts","description":"Retrieve the payout history for the organization, including amounts, statuses, and timestamps.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of payout records per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_personas","description":"List voice personas for the org. Each persona holds a voiceProfile (tone/style/themes/dos/donts) + exemplars distilled from a Collection of mined content.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_products","description":"List all products for this seller, each with its public checkout URL and price breakdown.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_published","description":"List all items the current organization has published to the marketplace pool.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_reflections","description":"Retrieve pending reflections that the bot has generated from conversations, awaiting human review. Optionally filter by approval status.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to list reflections for"},"status":{"type":"string","enum":["pending","approved","rejected"],"description":"Filter reflections by approval status (default: all statuses)"}},"required":["botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_reviews","description":"List verified-purchase reviews across this seller's products (rating, text, buyer, status).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_scheduled_messages","description":"Retrieve a paginated list of scheduled messages for the current organization, with optional filtering by status (scheduled, sent, failed, cancelled).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"status":{"type":"string","description":"Filter by status: 'scheduled', 'sent', 'failed', or 'cancelled'"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of items per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_sms_campaigns","description":"List the organization's SMS campaigns, optionally filtered by status or type.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"status":{"type":"string","description":"Filter by status: 'draft', 'sending', 'paused', 'completed', or 'failed'"},"type":{"type":"string","description":"Filter by type: 'blast' or 'drip'"},"page":{"type":"number","description":"Page number (default: 1)"},"limit":{"type":"number","description":"Items per page (default: 50)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_social_channels","description":"Retrieve all social media channels (Instagram, Twitter/X) configured in the current organization.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_tasks","description":"List all scheduled tasks for a bot. A task is a natural-language instruction the bot carries out autonomously on a schedule (e.g. 're-engage stale contacts every morning at 8am').","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"UUID of the bot"}},"required":["botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_tools","description":"Retrieve all custom API tool integrations configured for a specific bot, including their endpoints and configuration.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to list tools for"}},"required":["botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_webhooks","description":"Retrieve all inbound webhooks configured for a specific bot, including their status and configuration.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to list webhooks for"}},"required":["botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_list_whatsapp_contacts","description":"Retrieve contacts from the WhatsApp account connected to this channel, with optional search filtering.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the channel"},"q":{"type":"string","description":"Search query to filter contacts by name or phone number"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_login","description":"Authenticate with Neuron. Three modes:\n1. No args: Opens a browser URL for secure authorization (recommended — no credentials shared with AI)\n2. token: Paste an MCP token from the Neuron dashboard\n3. email+password: Legacy login (credentials visible to AI)","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{}}},{"name":"neuron_logout","description":"Clear the current auth token locally. Does NOT revoke server-side MCP tokens — revoke from the Neuron dashboard (Settings > MCP Tokens) for full invalidation.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_mark_as_read","description":"Mark a WhatsApp message as read, sending read receipts to the sender.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"chatJid":{"type":"string","description":"Chat JID the message belongs to"},"messageId":{"type":"string","description":"WhatsApp message ID to mark as read"}},"required":["channelId","chatJid","messageId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_mark_no_show","description":"Mark a booking as no-show when the invitee did not attend.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Booking UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_merge_contact_lists","description":"Merge two or more contact lists into a single unified list, deduplicating entries. Window merge creates a virtual union; materialized merge creates a static copy.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string","description":"Display name for the resulting merged list"},"sourceListIds":{"type":"array","items":{"type":"string"},"minItems":2,"description":"UUIDs or slugs of the source lists to merge (minimum 2)"},"mergeType":{"type":"string","enum":["window","materialized"],"description":"Merge strategy: 'window' (virtual union, stays in sync) or 'materialized' (static copy at merge time)"},"slug":{"type":"string","description":"URL-friendly slug for the merged list (auto-generated if omitted)"}},"required":["name","sourceListIds","mergeType"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_my_participations","description":"Retrieve all campaigns the current organization has joined as a participant, including earnings and delivery stats.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of participations per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_pause_ad_request","description":"Pause an active ad request campaign. Distribution stops until resumed. Only active ad requests can be paused.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"adRequestId":{"type":"string","description":"Unique identifier (UUID) of the active ad request to pause"}},"required":["adRequestId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_pause_bot","description":"Pause a bot to temporarily stop it from processing new messages. The bot retains its configuration and can be resumed later.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the bot to pause"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_pause_campaign","description":"Pause an active campaign to temporarily stop message delivery. Can be resumed later with the resume action.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the active campaign to pause"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_pause_list_campaign","description":"Pause a paced list campaign. No further batches run until resumed. The cursor is preserved.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Campaign ID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_pause_sms_campaign","description":"Pause a sending drip SMS campaign. Only drip campaigns in the 'sending' state can be paused.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"campaignId":{"type":"string","description":"UUID of the SMS campaign to pause"}},"required":["campaignId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_populate_contacts","description":"Enrich existing contacts with additional data from connected messaging channels. Syncs profile information from linked platforms.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_post_to_newsletter","description":"Post a message to a WhatsApp Channel newsletter. All subscribers receive the message. Provide at least one of text or mediaUrl. This triggers delivery and cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the newsletter to post to"},"text":{"type":"string","description":"Message text or caption to post to the newsletter"},"messageType":{"type":"string","enum":["text","image","video","document"],"default":"text","description":"Type of message to send (default: 'text')"},"mediaUrl":{"type":"string","description":"URL of the media file to attach (required for image, video, or document types)"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_post_to_status","description":"Post a WhatsApp Status / Story from a connected direct (Baileys) WhatsApp number. Visible to the account's synced contacts for 24 hours — you do NOT specify recipients (the contact list is built automatically; pass statusJidList only to target a subset). Provide at least one of text or mediaUrl. channelId is optional and auto-resolves to the default connected number. This triggers delivery and cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"text":{"type":"string","description":"Status text (for a text story) or caption (for media)"},"messageType":{"type":"string","enum":["text","image","video","audio"],"default":"text","description":"Type of status (default: 'text')"},"mediaUrl":{"type":"string","description":"URL of the image/video/audio to post (required for non-text statuses)"},"channelId":{"type":"string","description":"WhatsApp session channel UUID to post from. Omit to auto-resolve."},"backgroundColor":{"type":"string","description":"Text-status background colour as hex, e.g. '#315575'"},"font":{"type":"integer","minimum":0,"maximum":9,"description":"Text-status font index (0–9)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_product_members","description":"List the members of a membership product: current (paid-up) or all. Returns each buyer's status (active / lapsed / cancelled), when their period renews, whether they're in the attached WhatsApp group (if one is attached), plus totals.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Product UUID (must be a membership product)"},"status":{"type":"string","enum":["active","all"],"description":"'active' (current members, default) or 'all' (every member ever)"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_publish_blog_post","description":"Publish a blog post, making it publicly visible. The post must be in 'draft' status.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the blog post to publish"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_publish_to_pool","description":"Publish a bot, tool, knowledge base, or reflection to the shared marketplace pool for other organizations to discover and install.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"type":{"type":"string","enum":["knowledge_base","bot_template","tool_template","reflection_pack"],"description":"Type of resource to publish to the pool"},"sourceId":{"type":"string","description":"Unique identifier (UUID) of the source resource to publish"},"name":{"type":"string","description":"Display name for the pool listing"},"description":{"type":"string","description":"Detailed description of the resource for the pool listing"},"category":{"type":"string","description":"Category name for organizing the resource in the pool"},"tags":{"type":"array","items":{"type":"string"},"description":"List of tags for improved discoverability (e.g., ['ai', 'customer-support'])"},"setupInstructions":{"type":"string","description":"Step-by-step setup guide shown after installation (tool_template only, max 5000 chars)"},"defaultSecrets":{"type":"object","additionalProperties":{"type":"string"},"description":"Pre-filled secrets auto-populated on install, e.g. { OAUTH2_TOKEN_URL: 'https://...' }"}},"required":["type","sourceId","name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_pull_pool_update","description":"Pull the latest updates for a subscribed pool resource to sync with the publisher's changes. Only applies to items installed with 'subscribe' mode.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"installId":{"type":"string","description":"Unique identifier (UUID) of the installed resource to pull updates for"}},"required":["installId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_refresh_contact_list","description":"Trigger a refresh of a dynamic contact list. Re-evaluates criteria rules and/or AI prompt and materializes updated members.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"idOrSlug":{"type":"string","description":"Unique identifier (UUID) or URL-friendly slug of the dynamic list to refresh"}},"required":["idOrSlug"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_refresh_newsletter","description":"Re-fetch metadata (name, description, subscriber count) for a WhatsApp Channel newsletter from WhatsApp to synchronize local data.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the newsletter to refresh"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_refresh_token","description":"Refresh the access token using a refresh token. Automatically sets the new access token for subsequent API calls.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"refreshToken":{"type":"string","description":"Refresh token obtained from the initial login response"}},"required":["refreshToken"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_refund_order","description":"Refund a paid order via Paystack. The buyer is refunded and the sale amount is reversed from your wallet.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Order UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_register","description":"Register a new user account with name, email, password, and organization name. Creates both the user and an initial organization.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"name":{"type":"string","description":"Full name of the user"},"email":{"type":"string","format":"email","description":"Email address for the new account"},"password":{"type":"string","minLength":8,"description":"Password for the account (minimum 8 characters)"},"orgName":{"type":"string","description":"Name of the organization to create for this user"}},"required":["name","email","password","orgName"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_reject_reflection","description":"Reject a bot-generated reflection to prevent it from being incorporated into the bot's learned behavior.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the reflection to reject"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_release_conversation","description":"Release a conversation back to the bot, returning control from a human agent. The bot will resume auto-responding.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the conversation to release"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_remove_bot_channel","description":"Disconnect a WhatsApp channel from a bot. The bot will no longer respond to messages on this channel.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot"},"channelId":{"type":"string","description":"Unique identifier (UUID) of the WhatsApp channel to disconnect"}},"required":["botId","channelId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_remove_from_contact_list","description":"Remove one or more contacts from a list by their contact IDs. Does not delete the contacts themselves.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"idOrSlug":{"type":"string","description":"Unique identifier (UUID) or URL-friendly slug of the contact list"},"contactIds":{"type":"array","items":{"type":"string"},"description":"Array of contact UUIDs to remove from the list"}},"required":["idOrSlug","contactIds"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_remove_group_members","description":"Remove members from a group, resolved from any combination of sources — e.g. remove everyone on a contact list. Address the group by its id, slug, or JID.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"group":{"type":"string","description":"Group id, slug, or JID (ending in @g.us)"},"fromGroupIds":{"type":"array","items":{"type":"string"},"description":"Copy/combine members live from these WhatsApp group JIDs"},"listIds":{"type":"array","items":{"type":"string"},"description":"Contact list ids or slugs — pulls every member"},"contactIds":{"type":"array","items":{"type":"string"},"description":"Existing contact ids"},"phones":{"type":"array","items":{"type":"string"},"description":"Raw phone numbers, e.g. pasted from a CSV"},"allContacts":{"type":"boolean","description":"Union the org's entire address book"},"tags":{"type":"array","items":{"type":"string"},"description":"Keep only contacts carrying one of these tags"},"excludeListIds":{"type":"array","items":{"type":"string"},"description":"Subtract every member of these lists"}},"required":["group"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_remove_member","description":"Permanently remove a member from the organization. The member loses all access immediately. This action cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"orgId":{"type":"string","description":"Unique identifier (UUID) of the organization"},"userId":{"type":"string","description":"Unique identifier (UUID) of the member to remove"}},"required":["orgId","userId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_remove_profile_picture","description":"Remove the bot's WhatsApp profile picture, reverting to the default.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"}},"required":["channelId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_remove_tool_secret","description":"Permanently delete a stored secret from a custom tool integration. The tool will lose access to this credential.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the tool to remove the secret from"},"key":{"type":"string","description":"Secret key name to remove (e.g., 'API_KEY', 'AUTH_TOKEN')"}},"required":["id","key"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_request_approval","description":"Ask a human to approve or reject an action over WhatsApp and get the decision back. The recipient replies approve/reject (optionally with a reason) or quotes the message. Use this to gate any action needing human sign-off (refunds, deploys, spend, publishing). Returns an approvalId; poll neuron_get_approval / neuron_list_approvals for the outcome, or supply a webhook in `callback` to be notified. Requires a bot API key ('nrn_' prefix).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"apiKey":{"type":"string","description":"Bot API key with 'nrn_' prefix for authentication"},"to":{"type":"string","description":"Recipient phone number (E.164/digits) or WhatsApp group JID"},"prompt":{"type":"string","description":"The approval question shown to the human"},"context":{"type":"string","description":"Optional long-form details — stored in a shareable Neuron Note and linked from the WhatsApp message"},"channelId":{"type":"string","description":"Optional WhatsApp channel override (UUID)"},"expiresInSeconds":{"type":"integer","exclusiveMinimum":0,"description":"Time to live before auto-expiry (default 86400, 60–604800)"},"metadata":{"type":"object","additionalProperties":{},"description":"Opaque data echoed back verbatim in the result/callback"},"idempotencyKey":{"type":"string","description":"Dedupe key — returns the existing approval on repeat"},"callback":{"type":"object","properties":{"response":{"type":"object","properties":{"schemes":{"type":"array","items":{"type":"string","enum":["interactive","keyword","code","llm"]},"description":"Ordered fallback for turning a reply into a decision (default: ['keyword'])"},"code":{"type":"string","description":"One-time confirmation code — enables the 'code' scheme"}},"additionalProperties":false},"delivery":{"type":"object","properties":{"scheme":{"type":"string","enum":["webhook_signed","webhook_simple","neuron_message","neuron_tool","none"],"description":"How the decision reaches the caller"},"config":{"type":"object","additionalProperties":{},"description":"Scheme config: {url,secret} or {webhookId}; {targetJid,channelId}; {toolId}; {method}"}},"required":["scheme"],"additionalProperties":false},"await":{"type":"boolean","description":"Hold the request until resolved (long-poll)"},"awaitTimeoutSec":{"type":"integer","minimum":1,"maximum":60}},"additionalProperties":false,"description":"Callback config. Omit for a poll-only flow (delivery scheme 'none')."}},"required":["apiKey","to","prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_request_pair_code","description":"Request a numeric pairing code for a Baileys channel as an alternative to QR code scanning. Requires the phone number to pair with.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the Baileys channel"},"phoneNumber":{"type":"string","description":"Phone number to generate the pair code for (E.164 format, e.g., '+2348012345678')"}},"required":["id","phoneNumber"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_request_payout","description":"Request a payout to transfer funds from the organization wallet to the linked bank account. A bank account must be saved first.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"amount":{"type":"integer","exclusiveMinimum":0,"description":"Amount to transfer in the smallest currency unit — kobo for NGN (e.g., 100000 = NGN 1,000)"}},"required":["amount"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_reschedule_booking","description":"Reschedule a booking to a new time. Creates a new booking and marks the old one as rescheduled.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Booking UUID to reschedule"},"startTime":{"type":"string","description":"New start time (ISO 8601)"}},"required":["id","startTime"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_respond_approval","description":"Approve or reject a pending approval programmatically — the decision surface for an authorized operator acting via MCP instead of replying on WhatsApp. Fires the configured callback and posts the outcome to the WhatsApp chat. Exactly-once: the first responder (here or on WhatsApp) wins; later responses return 410. Requires a bot API key.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"apiKey":{"type":"string","description":"Bot API key with 'nrn_' prefix for authentication"},"approvalId":{"type":"string","description":"The approval request id (UUID)"},"decision":{"type":"string","enum":["approve","reject"],"description":"The decision to record"},"reason":{"type":"string","description":"Optional reason (recommended for rejections)"},"responderName":{"type":"string","description":"Optional display name of the operator making the decision"}},"required":["apiKey","approvalId","decision"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_resume_ad_request","description":"Resume a paused ad request campaign. Distribution resumes from where it left off. Only paused ad requests can be resumed.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"adRequestId":{"type":"string","description":"Unique identifier (UUID) of the paused ad request to resume"}},"required":["adRequestId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_resume_bot","description":"Resume a previously paused bot so it begins processing new messages again.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the bot to resume"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_resume_campaign","description":"Resume a previously paused campaign to restart message delivery.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the paused campaign to resume"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_resume_list_campaign","description":"Resume a paused paced list campaign. It picks up from where the cursor left off.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Campaign ID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_resume_sms_campaign","description":"Resume a paused drip SMS campaign.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"campaignId":{"type":"string","description":"UUID of the paused SMS campaign to resume"}},"required":["campaignId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_revoke_api_key","description":"Permanently revoke an API key to immediately invalidate it and prevent further programmatic access. This action cannot be undone.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot that owns the API key"},"keyId":{"type":"string","description":"Unique identifier (UUID) of the API key to revoke"}},"required":["botId","keyId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_revoke_group_invite","description":"Revoke the current group invite link and generate a new one. The old link will stop working. Requires admin.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"groupJid":{"type":"string","description":"Group JID (ending in @g.us)"}},"required":["channelId","groupJid"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_revoke_invitation","description":"Revoke a pending organization invitation so it can no longer be accepted. This action cannot be undone.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"orgId":{"type":"string","description":"Unique identifier (UUID) of the organization"},"invitationId":{"type":"string","description":"Unique identifier (UUID) of the invitation to revoke"}},"required":["orgId","invitationId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_rewrite_text","description":"Rewrite or rephrase text using AI with specified tone, style, or instructions (e.g., make it more formal, translate, summarize).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"text":{"type":"string","description":"The original text to rewrite or transform"},"instruction":{"type":"string","description":"Instructions for how to rewrite the text (e.g., 'make it more professional', 'translate to Spanish', 'summarize in 2 sentences')"}},"required":["text"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_run_flow","description":"Manually trigger a flow run for testing. Starts at the 'trigger.manual' node if present, otherwise the first trigger node. Optionally provide a payload object that becomes {{trigger.*}} in the flow.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the flow to run."},"payload":{"type":"object","additionalProperties":{},"description":"Test payload available as {{trigger.*}} in the flow — e.g. { text: 'hello', contactPhone: '2348012345678', senderName: 'Test User' }."},"nodeId":{"type":"string","description":"Specific trigger node id to start from (for flows with multiple triggers)."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_run_lead_source","description":"Run a lead source now to pull new leads into the pool (queues the extraction).","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Lead source UUID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_run_list_campaign_now","description":"Fire the next batch of a paced list campaign immediately (on the next worker tick, ~30s), regardless of its schedule. The schedule continues normally afterward.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Campaign ID"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_run_task","description":"Trigger a task to run immediately (in addition to its normal schedule). Returns once the run is queued.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the task"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_sales_stats","description":"Total paid sales count and net revenue (kobo) for this seller.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_save_bank_account","description":"Save a verified bank account as the organization's payout destination. Verify the account first using neuron_verify_bank_account.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"bankCode":{"type":"string","description":"Nigerian bank code (e.g., '058' for GTBank, '044' for Access Bank)"},"bankName":{"type":"string","description":"Full name of the bank (e.g., 'Guaranty Trust Bank')"},"accountNumber":{"type":"string","description":"10-digit Nigerian bank account number"},"accountName":{"type":"string","description":"Account holder name as returned from bank verification"}},"required":["bankCode","bankName","accountNumber","accountName"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_search_contacts","description":"Search contacts by a query string across name, phone number, and email fields. Returns matching contacts ranked by relevance.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"q":{"type":"string","description":"Search query string to match against contact name, phone, or email"}},"required":["q"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_search_knowledge","description":"Perform semantic search across all entries and documents in a knowledge base to find relevant information.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the knowledge base to search"},"q":{"type":"string","description":"Search query text to find relevant entries"},"limit":{"type":"number","description":"Maximum number of search results to return"}},"required":["id","q"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_seller_status","description":"Check whether this account can sell (Pro plan + admin-granted access) and any pending application.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_semantic_search_contacts","description":"Search contacts using natural language AI-powered semantic search. Finds contacts based on the meaning of their notes — skills, services, schedules, preferences, etc. Returns ranked results with relevance scores and AI-generated match reasons.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"query":{"type":"string","description":"Natural language search query (e.g., 'who can deliver to Lagos on Monday?')"},"limit":{"type":"integer","exclusiveMinimum":0,"maximum":20,"description":"Maximum number of results to return (default: 10, max: 20)"}},"required":["query"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_send_broadcast","description":"Send a broadcast message to all its recipients. The broadcast must be in draft status. This triggers message delivery and cannot be undone.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the broadcast to send"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_send_campaign_message","description":"Send a campaign message to selected eligible contacts via WhatsApp. Requires the campaign to be in 'active' status and contacts to be eligible.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the active campaign"},"contactIds":{"type":"array","items":{"type":"string"},"description":"Array of contact UUIDs to send the campaign message to"}},"required":["id","contactIds"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_send_contact_card","description":"Send a vCard contact card via WhatsApp with name, phone, and optional organization.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"to":{"type":"string","description":"Recipient JID or phone number"},"contactName":{"type":"string","description":"Full name of the contact to share"},"contactPhone":{"type":"string","description":"Phone number in international format (e.g. '+2348012345678')"},"contactOrg":{"type":"string","description":"Organization or company name"}},"required":["channelId","to","contactName","contactPhone"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_send_location","description":"Send a location pin via WhatsApp with coordinates and optional name/address.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"to":{"type":"string","description":"Recipient JID or phone number"},"latitude":{"type":"number","description":"Latitude in decimal degrees"},"longitude":{"type":"number","description":"Longitude in decimal degrees"},"name":{"type":"string","description":"Location name (e.g. 'Eko Hotel')"},"address":{"type":"string","description":"Street address"}},"required":["channelId","to","latitude","longitude"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_send_message","description":"Send a message to an existing conversation. Supports text, image, and document message types with optional media attachments.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the conversation"},"content":{"type":"string","description":"Message content to send"},"messageType":{"type":"string","description":"Type of message: 'text' (default), 'image', or 'document'"},"mediaUrl":{"type":"string","description":"URL of media to attach (required for image/document message types)"}},"required":["id","content"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_send_poll","description":"Send a poll message via WhatsApp. Polls support 2-12 options and optional multi-select. Only supported on Baileys channels.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"to":{"type":"string","description":"Recipient JID or phone number (individual or group)"},"name":{"type":"string","minLength":1,"description":"Poll question/title"},"options":{"type":"array","items":{"type":"string","minLength":1},"minItems":2,"maxItems":12,"description":"Poll answer options (2-12 items)"},"selectableCount":{"type":"integer","minimum":0,"description":"Max selections allowed. 0 = unlimited (default). 1 = single-choice."}},"required":["channelId","to","name","options"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_send_reaction","description":"Send or remove an emoji reaction on a WhatsApp message. Pass an empty emoji string to remove a reaction.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"to":{"type":"string","description":"Chat JID (e.g. '2348012345678@s.whatsapp.net' or group JID)"},"messageId":{"type":"string","description":"WhatsApp message ID to react to"},"emoji":{"type":"string","description":"Emoji character (e.g. '👍', '❤️'), or empty string to remove reaction"}},"required":["channelId","to","messageId","emoji"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_send_sms_campaign","description":"Send a draft SMS campaign. Debits the wallet for the SMS cost plus any curated owner payout, then queues delivery. Returns a 402 with shortfall details if the wallet balance is insufficient (fund the wallet with neuron_fund_wallet and retry).","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"campaignId":{"type":"string","description":"UUID of the draft SMS campaign to send"}},"required":["campaignId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_send_sticker","description":"Send a sticker via WhatsApp. The easy way: pass `sticker` as a mood or label (e.g. 'laughing', 'thumbs up', 'fire', 'celebrate') and a matching sticker is found automatically from the platform-wide community sticker library (falling back to this org's own stickers). Advanced: pass `stickerUrl` with a direct public WebP image URL instead. Provide one of the two. Only supported on Baileys channels.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"to":{"type":"string","description":"Recipient JID or phone number"},"sticker":{"type":"string","description":"Mood or label to auto-match a sticker (e.g. 'laughing', 'fire', 'celebrate'). Preferred over stickerUrl."},"stickerUrl":{"type":"string","description":"Advanced: direct URL to a public WebP sticker image. Use only if no mood/label fits."}},"required":["channelId","to"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_send_whatsapp","description":"Send a WhatsApp message to a phone number or group. Auto-resolves which channel to use (org default > first connected). Supports text, image, audio, video, and document types.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"to":{"type":"string","description":"Recipient: phone number (e.g., '2348012345678') or group JID (e.g., '120363XXX@g.us')"},"text":{"type":"string","description":"Message text content"},"messageType":{"type":"string","description":"Message type: 'text' (default), 'image', 'audio', 'video', or 'document'"},"mediaUrl":{"type":"string","description":"URL of media to attach (required for non-text message types)"},"channelId":{"type":"string","description":"Unique identifier (UUID) of a specific channel to override auto-resolution"},"contactName":{"type":"string","description":"Display name for the recipient contact"},"sendAt":{"type":"string","description":"ISO 8601 date-time for scheduled delivery (e.g., '2025-12-31T10:00:00Z'). Message sends immediately if omitted."}},"required":["to","text"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_set_default_channel","description":"Set or clear the default WhatsApp channel for the organization. The default channel is used by neuron_send_whatsapp for auto-resolving which channel to send through.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"orgId":{"type":"string","description":"Unique identifier (UUID) of the organization"},"channelId":{"type":["string","null"],"description":"Identifier (UUID) of the channel to set as default, or null to clear the default"}},"required":["orgId","channelId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_set_group_join_approval","description":"Enable or disable join approval mode for a WhatsApp group. When enabled, join requests must be manually approved by admins. Requires admin.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"groupJid":{"type":"string","description":"Group JID (ending in @g.us)"},"enabled":{"type":"boolean","description":"true to require admin approval for joins, false to allow direct joins"}},"required":["channelId","groupJid","enabled"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_set_override","description":"Set a date-specific availability override — mark a day as unavailable, or set custom hours for that date.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"calendarId":{"type":"string","description":"Calendar UUID"},"date":{"type":"string","description":"Date to override (YYYY-MM-DD)"},"isUnavailable":{"type":"boolean","description":"Mark the entire day as unavailable"},"hours":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string","description":"Start time (HH:mm)"},"end":{"type":"string","description":"End time (HH:mm)"}},"required":["start","end"],"additionalProperties":false},"description":"Custom hours for this date (overrides weekly hours)"},"reason":{"type":"string","description":"Reason for the override (e.g. 'Holiday')"}},"required":["calendarId","date"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_set_presence","description":"Set typing indicator or online/offline presence on a WhatsApp chat. Only supported on Baileys channels.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"to":{"type":"string","description":"Chat JID to set presence for"},"type":{"type":"string","enum":["composing","paused","available","unavailable"],"description":"Presence type"}},"required":["channelId","to","type"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_start_channel_session","description":"Start a Baileys (direct WhatsApp) session for the channel. Generates a QR code for device pairing. Only applicable to Baileys-type channels.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the Baileys channel to start"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_start_social_channel_session","description":"Start or reconnect a social media session for the channel. Initializes the platform client with stored credentials.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the social channel to start"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_stop_ad_request","description":"Stop an active or paused ad request campaign permanently. Any remaining unspent budget is refunded to the organization wallet. This cannot be undone.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"adRequestId":{"type":"string","description":"Unique identifier (UUID) of the ad request to stop"}},"required":["adRequestId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_stop_campaign","description":"Permanently stop an active campaign and refund the remaining unspent budget to the organization's wallet. This action cannot be undone.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the active campaign to stop"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_stop_channel_session","description":"Stop the active Baileys session for the channel and disconnect from WhatsApp. The channel can be restarted later.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the Baileys channel to stop"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_stop_social_channel_session","description":"Stop the active session for a social media channel. The channel can be restarted later.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the social channel to stop"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_agent","description":"Build a new video or edit an existing one from a natural-language instruction. Returns the updated ProjectDoc plus the list of edits made. Pass the returned `doc` back in to keep iterating, or to neuron_studio_render to produce an MP4. Does NOT render.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"instruction":{"type":"string","description":"Plain-English description of the video to build or the edit to make."},"doc":{"type":"object","additionalProperties":{},"description":"An existing Studio ProjectDoc to edit. Omit to start a fresh video."},"platform":{"type":"string","enum":["instagram-post","instagram-story","tiktok","twitter","youtube"],"description":"Canvas size for a NEW video (default instagram-story 9:16). Use tiktok/instagram-story for a reel."},"durationSeconds":{"type":"number","exclusiveMinimum":0,"maximum":600,"description":"Length of a NEW blank video in seconds (default 5)."},"model":{"type":"string","description":"Override the studio model id (else the org/default is used)."}},"required":["instruction"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_apply","description":"Apply a batch of Studio tool calls to a video doc and get back the updated doc plus a fresh scene description — YOU (this agent) are the brain, so this needs NO OpenRouter/AI key. Loop: call neuron_studio_catalog once, then neuron_studio_apply with { doc, calls:[{tool,args}] }, read the returned `scene`, apply more, and finally neuron_studio_render. Omit `doc` (with an optional `platform`) to start a fresh video.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"doc":{"type":"object","additionalProperties":{},"description":"The ProjectDoc to edit (omit to start fresh). Pass back the `doc` from the previous apply to keep going."},"calls":{"type":"array","items":{"type":"object","properties":{"tool":{"type":"string","description":"A tool name from neuron_studio_catalog, e.g. add_text, animate_layer, add_overlay."},"args":{"type":"object","additionalProperties":{},"description":"That tool's arguments."}},"required":["tool"],"additionalProperties":false},"minItems":1,"maxItems":200,"description":"Ordered tool calls to apply."},"activeIndex":{"type":"integer","minimum":0,"description":"Which scene subsequent layer calls target (default 0)."},"timeMs":{"type":"number","minimum":0,"description":"Scene-local playhead (ms) for time-based ops (default 0)."},"platform":{"type":"string","enum":["instagram-post","instagram-story","tiktok","twitter","youtube"],"description":"Canvas size when starting fresh (default instagram-story)."},"durationSeconds":{"type":"number","exclusiveMinimum":0,"maximum":600,"description":"Length when starting fresh (default 5s)."}},"required":["calls"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_catalog","description":"Get the Studio's editing vocabulary — every tool (add_text, add_shape, animate_layer, set_visibility_window, group, trim_clip, add_overlay, add_scene, set_transition, …) with its JSON-schema arguments. Read this first when driving the Studio yourself with neuron_studio_apply.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_generate_image","description":"Text → image (AI b-roll) via the org's Replicate key. Returns { url } (an external URL). Re-host it (neuron_studio_rehost_media) so it persists, then place it with neuron_studio_apply add_image. Business plan + an image-model version configured in Studio settings.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"prompt":{"type":"string","description":"What the image should show."},"aspect":{"type":"string","enum":["9:16","1:1","16:9"],"description":"Aspect ratio (default 9:16)."}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_generate_video","description":"Text → video via Replicate (async). Returns { id, status } — poll neuron_studio_generate_video_status until 'succeeded' to get videoUrl, then re-host + add_video. Needs a genvideo model version configured.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"prompt":{"type":"string","description":"What the clip should show."},"imageUrl":{"type":"string","format":"uri","description":"Optional starting image (image→video)."}},"required":["prompt"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_generate_video_status","description":"Poll an AI video job. When status is 'succeeded', videoUrl is the result (external — re-host it before use).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Job id from neuron_studio_generate_video."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_import_media_url","description":"Fetch a video from a direct link or a platform page (YouTube / Instagram / TikTok / X / LinkedIn) and re-host it so the Studio + renderer can use it. Returns { url, filename, kind, w, h, durationMs }. Put the returned url on a video layer in the ProjectDoc.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"The source video URL or platform page."}},"required":["url"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_make","description":"One-shot: build/edit a video from a prompt AND start the MP4 render. Returns the ProjectDoc, the edits, and a render `job` — poll it with neuron_studio_render_status until status is 'completed' to get the outputUrl. Great for 'make me a 20s TikTok reel about X'. Requires a Pro+ plan.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"instruction":{"type":"string","description":"Plain-English description of the video to build or the edit to make."},"doc":{"type":"object","additionalProperties":{},"description":"An existing Studio ProjectDoc to edit. Omit to start a fresh video."},"platform":{"type":"string","enum":["instagram-post","instagram-story","tiktok","twitter","youtube"],"description":"Canvas size for a NEW video (default instagram-story 9:16). Use tiktok/instagram-story for a reel."},"durationSeconds":{"type":"number","exclusiveMinimum":0,"maximum":600,"description":"Length of a NEW blank video in seconds (default 5)."},"model":{"type":"string","description":"Override the studio model id (else the org/default is used)."}},"required":["instruction"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_rehost_media","description":"Fetch any image/video/audio URL and re-host it on Neuron so it's stable and server-reachable — use this on external/temporary URLs (AI-generated b-roll, etc.) before placing them with add_image/add_video/add_audio. Returns { url, filename }.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"The external media URL to re-host."}},"required":["url"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_render","description":"Submit a Studio ProjectDoc for a headless MP4 render. Returns a job id — poll neuron_studio_render_status until 'completed'. Any media (video/image) in the doc must be a server-reachable URL (use neuron_studio_import_media_url / neuron_studio_upload_media first). Requires a Pro+ plan.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"doc":{"type":"object","additionalProperties":{},"description":"The Studio ProjectDoc/SceneDoc to render."},"sceneId":{"type":"string","format":"uuid","description":"Optional saved-scene id to link the job to."}},"required":["doc"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_render_status","description":"Poll a render job by id. When status is 'completed', outputUrl is the finished MP4. status is queued | rendering | completed | failed.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Render job id from neuron_studio_render / neuron_studio_make."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_save","description":"Persist a ProjectDoc and get back an `openUrl`. Opening it drops the video into the Studio in the user's browser, where 'Export MP4' renders CLIENT-SIDE (on their machine, no server render cost). Use this for the hybrid flow: build with neuron_studio_apply/agent, then save and hand the user the link. Use neuron_studio_render instead only for headless/unattended server renders.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"doc":{"type":"object","additionalProperties":{},"description":"The ProjectDoc to save."},"name":{"type":"string","description":"A title for the saved video (default 'AI video')."}},"required":["doc"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_transcribe","description":"Transcribe a hosted media/audio URL into time-coded caption cues { cues:[{startSeconds,endSeconds,text}] }. Feed them to neuron_studio_apply add_captions to subtitle existing footage. Needs a transcription key on the org.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"The hosted media/audio URL to transcribe."}},"required":["url"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_transform_video","description":"Run an AI transform on a hosted video via Replicate (async): op 'bg-remove' or 'face-swap' (face-swap needs imageUrl). Returns { id, status } — poll neuron_studio_transform_video_status for videoUrl. Needs the matching model version configured.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"op":{"type":"string","enum":["bg-remove","face-swap"],"description":"Which transform."},"videoUrl":{"type":"string","format":"uri","description":"Source video URL."},"imageUrl":{"type":"string","format":"uri","description":"Reference face image (face-swap only)."}},"required":["op","videoUrl"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_transform_video_status","description":"Poll a video-transform job. When status is 'succeeded', videoUrl is the result (external — re-host before use).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Job id from neuron_studio_transform_video."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_upload_media","description":"Upload a local image/video (base64) to the Studio media store (uncapped) so the renderer can fetch it. Returns { url, filename }. Put the url on an image/video layer.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"base64":{"type":"string","description":"Base64-encoded file bytes (no data: prefix)."},"filename":{"type":"string","description":"Original filename incl. extension (e.g. clip.mp4)."},"mimetype":{"type":"string","description":"MIME type, e.g. video/mp4 or image/png."}},"required":["base64","filename","mimetype"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_studio_voiceover","description":"Turn a script into a hosted voiceover audio URL, optionally with caption cues synced to the speech. Returns { url, durationSeconds, cues? }. Then place it with neuron_studio_apply: add_audio({url, label:'Voiceover', durationSeconds}) and add_captions({cues}). This makes fully-voiced reels possible from a prompt. Needs a TTS key on the org (captions also need a transcription key).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"text":{"type":"string","description":"The script to speak."},"voice":{"type":"string","description":"Voice id/name for the engine (else the org default)."},"engine":{"type":"string","enum":["openai","elevenlabs"],"description":"TTS engine (default openai)."},"withCaptions":{"type":"boolean","description":"Also transcribe the audio into synced caption cues."}},"required":["text"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_submit_ad_request","description":"Submit a draft ad request for admin review. The request must be in draft status. After submission, an admin must approve it before it can be funded.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"adRequestId":{"type":"string","description":"Unique identifier (UUID) of the draft ad request to submit"}},"required":["adRequestId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_submit_campaign","description":"Submit a draft campaign for admin review and approval. The campaign must be in 'draft' status.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the draft campaign to submit for review"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_submit_to_list_pool","description":"Submit a contact list to the shared pool marketplace for other organizations to discover and use for ad distribution.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"listId":{"type":"string","description":"Unique identifier (UUID) of the contact list to submit"},"channelId":{"type":"string","description":"Unique identifier (UUID) of the WhatsApp channel used for sending messages"},"category":{"type":"string","description":"Audience category (e.g., 'delivery', 'tech', 'consumers', 'food')"},"description":{"type":"string","description":"Human-readable description of the audience and its characteristics"},"demographics":{"type":"object","properties":{"regions":{"type":"array","items":{"type":"string"},"description":"Geographic regions covered (e.g., ['lagos', 'abuja'])"},"tags":{"type":"array","items":{"type":"string"},"description":"Demographic tags describing the audience (e.g., ['young-adults', 'tech-savvy'])"}},"additionalProperties":false,"description":"Demographic information about the contact list audience"},"pricePerDelivery":{"type":"number","description":"Price per successful message delivery in kobo (e.g., 5000 = NGN 50)"}},"required":["listId","channelId","category","pricePerDelivery"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_switch_instance","description":"Switch the MCP server to target a different Neuron backend instance. Auth tokens are preserved per instance — if you've previously logged in to an instance, switching back restores your session automatically.\n\nCall with no args to list known instances and see which is active.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"url":{"type":"string","description":"Base API URL of the Neuron instance (e.g., 'https://api.client.com/api/v1'). Omit to list known instances."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_switch_org","description":"Switch to a different organization. Returns a new access token scoped to the target organization and automatically sets it.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"orgId":{"type":"string","description":"Unique identifier (UUID) of the organization to switch to"}},"required":["orgId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_sync_knowledge","description":"Trigger a synchronization operation to refresh embeddings, reindex content, or update the knowledge base state.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the knowledge base to synchronize"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_sync_newsletters","description":"Synchronize and import WhatsApp Channels from a connected WhatsApp session into Neuron. Discovers channels created outside Neuron.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"Identifier (UUID) of the WhatsApp session channel to sync newsletters from"}},"required":["channelId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_sync_reflections","description":"Synchronize all approved reflections into the bot's active knowledge base, applying learned insights to future conversations.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to sync reflections for"}},"required":["botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_sync_whatsapp_contacts","description":"Synchronize contacts from all connected WhatsApp channels into the organization's contact database. Creates new contacts for unseen numbers.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_takeover_conversation","description":"Transfer control of a conversation from the bot to a human agent. The bot will stop auto-responding until the conversation is released.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the conversation to take over"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_team_availability","description":"Find available slots across all team calendars. Mode 'any' returns slots where at least one member is free (round-robin), 'all' requires everyone to be free (collective).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"from":{"type":"string","description":"Start date (YYYY-MM-DD)"},"to":{"type":"string","description":"End date (YYYY-MM-DD)"},"mode":{"type":"string","enum":["any","all"],"description":"'any' for round-robin, 'all' for collective (default: 'any')"}},"required":["from","to"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_test_tool","description":"Execute a dry-run test of a custom API tool with sample arguments to verify the endpoint responds correctly.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the tool to test"},"args":{"type":"object","additionalProperties":{},"description":"Sample arguments object to pass to the tool for testing"}},"required":["id","args"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_toggle_builtin_tool","description":"Toggle a built-in tool on or off for a specific bot. Enabled tools become available in the bot's conversations. Example tool IDs: delete_message, post_to_channel, post_status, web_search, send_direct_message, react_to_message, set_reminder, create_poll.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to toggle the tool for"},"toolId":{"type":"string","description":"Identifier of the built-in tool (e.g., 'delete_message', 'post_status', 'web_search')"},"enabled":{"type":"boolean","description":"Whether to enable (true) or disable (false) the tool"}},"required":["botId","toolId","enabled"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_toggle_featured","description":"Toggle the featured status of a pool item. Featured items appear prominently in the marketplace. Requires admin privileges.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the pool item to feature or unfeature"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_toggle_flow","description":"Enable or disable a flow. Disabled flows stop receiving events but retain their graph.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the flow."},"enabled":{"type":"boolean","description":"true to enable, false to disable."}},"required":["id","enabled"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_toggle_task","description":"Pause or resume a scheduled task (flips its enabled state and reschedules the next run).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the task"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_unassign_bot_from_channel","description":"Remove the bot assignment from a WhatsApp channel. The channel will stop auto-responding to messages.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the channel to unassign the bot from"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_unassign_bot_from_social_channel","description":"Remove the bot assignment from a social media channel. The bot will lose access to the channel's social media credentials.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the social channel to unassign the bot from"},"botId":{"type":"string","description":"Unique identifier (UUID) of the bot to unassign"}},"required":["id","botId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_unblock_contact","description":"Unblock a previously blocked WhatsApp contact.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"jid":{"type":"string","description":"Contact JID or phone number to unblock"}},"required":["channelId","jid"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_unpublish_from_pool","description":"Permanently remove a published item from the marketplace pool. Organizations that installed this item will retain their copies.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the pool item to unpublish"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_ad_request","description":"Update a draft or rejected ad request. Only draft and rejected ad requests can be edited. Rejected requests revert to draft on update.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"adRequestId":{"type":"string","description":"Unique identifier (UUID) of the ad request to update"},"message":{"type":"string","description":"Updated ad message content"},"messageType":{"type":"string","description":"Updated message type: 'text', 'image', 'video', or 'document'"},"mediaUrl":{"type":"string","description":"Updated media URL (set to null to clear)"},"targetDemographics":{"type":"object","properties":{"categories":{"type":"array","items":{"type":"string"},"description":"Updated target categories"},"regions":{"type":"array","items":{"type":"string"},"description":"Updated target regions"}},"additionalProperties":false,"description":"Updated demographic targeting criteria"},"targetingMode":{"type":"string","enum":["auto","manual"],"description":"Targeting mode: 'auto' for system matching or 'manual' for hand-picked pool entries"},"targetType":{"type":"string","enum":["contacts","groups"],"description":"Target type: 'contacts' or 'groups'"},"selectedPoolEntryIds":{"type":"array","items":{"type":"string"},"description":"Pool entry UUIDs for manual contact targeting"},"selectedGroupPoolEntryIds":{"type":"array","items":{"type":"string"},"description":"Group pool entry UUIDs for manual group targeting"},"targetGoal":{"type":"number","description":"Updated target number of deliveries"},"budget":{"type":"number","description":"Updated budget in kobo"}},"required":["adRequestId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_availability","description":"Set the weekly availability hours for a calendar. Each day maps to an array of { start, end } time windows in HH:mm format.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"calendarId":{"type":"string","description":"Calendar UUID"},"weeklyHours":{"type":"object","additionalProperties":{"type":"array","items":{"type":"object","properties":{"start":{"type":"string","description":"Start time (HH:mm)"},"end":{"type":"string","description":"End time (HH:mm)"}},"required":["start","end"],"additionalProperties":false}},"propertyNames":{"enum":["monday","tuesday","wednesday","thursday","friday","saturday","sunday"]},"description":"Weekly hours map, e.g. { monday: [{ start: '09:00', end: '17:00' }], saturday: [] }"},"timezone":{"type":"string","description":"IANA timezone"}},"required":["calendarId","weeklyHours"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_blog_post","description":"Update an existing blog post's content, metadata, status, or SEO fields. Only provided fields are changed.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the blog post to update"},"title":{"type":"string","description":"New title for the blog post"},"content":{"type":"string","description":"New markdown body (GFM + inline raw HTML). Supports ![alt](url), <video>, <iframe> embeds, <details>/<summary>, <mark>, <kbd>."},"blocks":{"anyOf":[{"type":"array","items":{"type":"object","additionalProperties":{}}},{"type":"null"}],"description":"Structured layout blocks, rendered top-to-bottom as styled components. Each block is an object with a `type` and its fields:\n- hero: { type:'hero', title, kicker?, subtitle?, imageUrl?, align?:'left'|'center', ctaLabel?, ctaHref? }\n- richText: { type:'richText', markdown }  (full GFM markdown)\n- callout: { type:'callout', variant:'info'|'tip'|'warning'|'success'|'danger', title?, markdown }\n- columns: { type:'columns', ratio?:'1-1'|'1-2'|'2-1', columns:[ [block,...], [block,...] ] }  (exactly 2 columns of leaf blocks; no nested columns)\n- codeCard: { type:'codeCard', language?, filename?, code }\n- imageGrid: { type:'imageGrid', columns?:1|2|3|4, images:[{ url, alt?, caption? }] }\n- quote: { type:'quote', quote, attribution? }\n- embed: { type:'embed', provider:'youtube'|'loom'|'vimeo'|'generic', url, title? }  (paste the normal share URL)\n- cta: { type:'cta', headline, body?, buttonLabel, buttonHref, secondaryLabel?, secondaryHref?, accent?:'#hex' }\n- divider: { type:'divider' }\n- html: { type:'html', html, sandboxed?, height? }  (custom HTML. Default is sanitized + indexable, no scripts. Set sandboxed:true to run scripts inside an isolated iframe — NOT indexed by search.)\nBuild magazine-style posts by composing these, e.g. a hero, then richText, then a columns block, a callout, a codeCard, and a closing cta.\n\nPass null to clear blocks and revert to the markdown `content`. Omit to leave existing blocks unchanged."},"excerpt":{"type":"string","description":"New short summary or preview text"},"tags":{"type":"array","items":{"type":"string"},"description":"Replace the post's tags with this list of tag names (created if missing). Empty array clears all tags; omit to leave tags unchanged."},"coverImageUrl":{"type":"string","description":"New URL for the cover image"},"status":{"type":"string","enum":["draft","published","hidden"],"description":"New publication status for the post"},"seoTitle":{"type":"string","description":"New custom SEO title override"},"seoDescription":{"type":"string","description":"New meta description for search engines"},"seoKeywords":{"type":"array","items":{"type":"string"},"description":"New list of SEO keywords"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_booking_notes","description":"Add or update host notes on a booking.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Booking UUID"},"notes":{"type":"string","description":"Host notes text"}},"required":["id","notes"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_bot","description":"Update an existing bot's configuration. Only provided fields are modified; omitted fields remain unchanged.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the bot to update"},"name":{"type":"string","description":"New display name for the bot"},"systemPrompt":{"type":"string","description":"New system prompt defining the bot's behavior and personality"},"assignment":{"type":"string","description":"One-sentence role definition for the bot (max 2000 chars)"},"responsibilities":{"type":"array","items":{"type":"string"},"description":"Array of responsibility descriptions defining what the bot handles"},"llmModel":{"type":"string","description":"OpenRouter model ID (e.g., 'google/gemini-2.5-flash-lite', 'openrouter/auto')"},"llmTemperature":{"type":"number","minimum":0,"maximum":2,"description":"Temperature parameter controlling response randomness (0 = deterministic, 2 = creative)"},"maxTokens":{"type":"number","exclusiveMinimum":0,"description":"Maximum number of tokens the bot can generate per response"},"escalationPrompt":{"type":"string","description":"Prompt template used when escalating to a human agent (max 5000 chars)"},"greetingMessage":{"type":"string","description":"Automatic greeting sent when a new conversation starts (max 2000 chars)"},"welcomeMessage":{"type":"string","description":"Welcome message sent to new members joining groups the bot manages. Setting this field activates the batched welcome feature — new members are accumulated over a window (default 60s) and welcomed in a single message with @mentions. Set to null to disable."},"fallbackMessage":{"type":"string","description":"Message sent when the bot cannot understand user input (max 2000 chars)"},"whatsappChannelId":{"type":"string","description":"Unique identifier (UUID) of the WhatsApp channel to associate with the bot"},"metadata":{"type":"object","additionalProperties":{},"description":"Arbitrary metadata object stored with the bot. Replaces the entire metadata field — include ALL existing keys you want to keep. Known keys: 'communityExitFollowUp' (auto-DM users who leave watched groups — { enabled: boolean, groupJids: string[], message: string with {name} placeholder }), 'learningConfig' (self-learning from conversations — { enabled: boolean, folder: string, groupChats: string[], dmPhones: string[], useAdminPhones: boolean }), 'loadBalancing' (multi-channel round-robin — { enabled: boolean, strategy: string }), 'welcomeNewMembers' (fine-tune welcome behavior — { batchWindowSeconds: number, groupJids: string[] }). Additional custom keys are preserved as-is."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_broadcast","description":"Update an existing broadcast's name, message content, or media before sending. The broadcast must still be in draft status.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the broadcast to update"},"name":{"type":"string","description":"New display name or label for the broadcast"},"message":{"type":"string","description":"New message content to broadcast"},"messageType":{"type":"string","description":"New message type (e.g., 'text', 'image', 'document')"},"mediaUrl":{"type":"string","description":"New media URL to attach"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_calendar","description":"Update a calendar's settings. Only provided fields are modified.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Calendar UUID"},"name":{"type":"string","description":"New display name"},"description":{"type":"string","description":"New description"},"timezone":{"type":"string","description":"New IANA timezone"},"visibility":{"type":"string","enum":["private","public","org-link"],"description":"New visibility"},"isActive":{"type":"boolean","description":"Enable or disable the calendar"},"color":{"type":"string","description":"New hex color code"},"notifyEmail":{"type":"boolean","description":"Toggle email notifications"},"notifyWhatsapp":{"type":"boolean","description":"Toggle WhatsApp notifications"},"notifyPhone":{"type":"string","description":"New host phone for WhatsApp notifications"},"notifyEmailAddress":{"type":"string","description":"New host email for notifications"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_campaign","description":"Update a campaign that is in 'draft' or 'rejected' status. Active or completed campaigns cannot be modified.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the campaign to update"},"title":{"type":"string","description":"Updated campaign title"},"message":{"type":"string","description":"Updated WhatsApp message template"},"rewardPerDelivery":{"type":"number","description":"Updated reward per delivery in kobo (e.g., 5000 = NGN 50)"},"totalBudget":{"type":"number","description":"Updated total campaign budget in kobo"},"deadline":{"type":"string","description":"Updated campaign deadline in ISO 8601 date format"},"description":{"type":"string","description":"Updated marketplace description"},"guidelines":{"type":"string","description":"Updated participant guidelines"},"requireMutualContact":{"type":"boolean","description":"Updated mutual contact requirement setting"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_channel","description":"Update configuration of an existing WhatsApp channel. Only provided fields are modified; omitted fields remain unchanged.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the channel to update"},"name":{"type":"string","description":"New display name for the channel"},"phoneNumber":{"type":"string","description":"New phone number for the channel (E.164 format)"},"metaPhoneNumberId":{"type":"string","description":"New Meta Phone Number ID (meta_cloud channels only)"},"metaAccessToken":{"type":"string","description":"New Meta Access Token (meta_cloud channels only)"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_contact","description":"Update an existing contact's details. If notes are provided, they are appended as a new structured note entry without overwriting existing notes.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the contact to update"},"name":{"type":"string","description":"Updated full name for the contact"},"phone":{"type":"string","description":"Updated phone number in E.164 format (e.g., +2348012345678)"},"email":{"type":"string","description":"Updated email address for the contact"},"tags":{"type":"array","items":{"type":"string"},"description":"Updated tags for the contact (replaces existing tags)"},"notes":{"type":"string","description":"New note to append to the contact's existing notes"},"doNotBroadcast":{"type":"boolean","description":"Set true to exclude this contact from all broadcasts, false to allow"},"doNotAutoRespond":{"type":"boolean","description":"Set true so the bot never auto-responds to this contact, false to allow (manual/API and human sends are unaffected either way)"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_contact_list","description":"Update an existing contact list's name, slug, description, criteria, or refresh schedule.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"idOrSlug":{"type":"string","description":"Unique identifier (UUID) or URL-friendly slug of the contact list to update"},"name":{"type":"string","description":"Updated display name for the list"},"slug":{"type":"string","description":"Updated URL-friendly slug for the list"},"description":{"type":"string","description":"Updated description of the list's purpose"},"criteria":{"anyOf":[{"anyOf":[{"not":{}},{"type":"object","additionalProperties":{}}]},{"type":"null"}],"description":"Updated dynamic list criteria. Set to null to clear existing criteria."},"refreshSchedule":{"type":"string","enum":["manual","daily","weekly","on_access"],"description":"Updated refresh schedule for dynamic lists"}},"required":["idOrSlug"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_event","description":"Update a host-created event. Use scope='future' to update all future instances of a recurring series.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Event (booking) UUID"},"title":{"type":"string","description":"New title"},"description":{"type":"string","description":"New description"},"startTime":{"type":"string","description":"New start time (ISO 8601)"},"endTime":{"type":"string","description":"New end time (ISO 8601)"},"locationType":{"type":"string","enum":["video","phone","in_person","whatsapp","custom"],"description":"New location type"},"locationValue":{"type":"string","description":"New location value"},"attendees":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"email":{"type":"string"},"phone":{"type":"string"},"contactId":{"type":"string"},"status":{"type":"string"}},"required":["name"],"additionalProperties":false},"description":"Updated attendee list"},"scope":{"type":"string","enum":["single","future"],"description":"'single' (default) or 'future' to update all future instances"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_event_type","description":"Update an event type's settings. Only provided fields are modified.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Event type UUID"},"name":{"type":"string","description":"New name"},"description":{"type":"string","description":"New description"},"duration":{"type":"number","description":"New duration in minutes"},"locationType":{"type":"string","enum":["video","phone","in_person","whatsapp","custom"],"description":"New location type"},"locationValue":{"type":"string","description":"New location value"},"isActive":{"type":"boolean","description":"Enable or disable the event type"},"requireConfirmation":{"type":"boolean","description":"Require host confirmation"},"color":{"type":"string","description":"New hex color"},"price":{"type":"number","description":"New price"},"currency":{"type":"string","description":"New currency code"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_flow","description":"Update a flow's name, description, graph, or enabled state. Only provided fields are changed. When updating the graph, provide the COMPLETE graph (all nodes and edges) — it replaces the existing graph entirely. When a graph is supplied the response includes a non-blocking `warnings` array (same checks as create_flow) — check it and fix any flagged issues.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the flow to update."},"name":{"type":"string","description":"New name."},"description":{"type":["string","null"],"description":"New description (null to clear)."},"graph":{"type":"object","properties":{"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Stable node id unique within the flow, e.g. 'n_a1b2' or 't_msg'."},"type":{"type":"string","description":"Registry key — e.g. 'trigger.message_received', 'logic.branch', 'action.send_message'. Use neuron_get_flow_catalog to see all available types."},"config":{"type":"object","additionalProperties":{},"default":{},"description":"Node-specific configuration. Values may contain {{…}} templates resolved at runtime against trigger, vars, and nodes."},"position":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}},"required":["x","y"],"additionalProperties":false,"description":"Canvas position (UI layout). Use x=300 as center, space nodes ~160px apart vertically."},"label":{"type":"string","description":"Human label overriding the registry default."}},"required":["id","type"],"additionalProperties":false},"description":"Array of flow nodes."},"edges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Unique edge id, e.g. 'e_msg_reply'."},"source":{"type":"string","description":"Source node id."},"target":{"type":"string","description":"Target node id."},"sourceHandle":{"type":"string","description":"Which output port of the source node this edge leaves from. Branch nodes use 'true'/'false', switch/router use case ids, wait nodes use 'default'/'timeout', lookup uses 'found'/'not_found'. Defaults to 'default'."}},"required":["id","source","target"],"additionalProperties":false},"description":"Array of edges connecting nodes. Each edge fires when its source node emits on the matching sourceHandle."}},"required":["nodes","edges"],"additionalProperties":false,"description":"Complete replacement graph. Provide ALL nodes and edges."},"enabled":{"type":"boolean","description":"Enable or disable the flow."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_group_description","description":"Update the description of a WhatsApp group. Requires the bot to be a group admin.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"groupJid":{"type":"string","description":"Group JID (ending in @g.us)"},"description":{"type":"string","description":"New group description (can be empty string to clear)"}},"required":["channelId","groupJid","description"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_group_members","description":"Add, remove, promote, or demote members in a WhatsApp group. Provide phone numbers or JIDs. Requires admin privileges.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"groupJid":{"type":"string","description":"Group JID (ending in @g.us)"},"participants":{"type":"array","items":{"type":"string"},"minItems":1,"description":"Array of phone numbers or JIDs (e.g. ['2348012345678'] or ['2348012345678@s.whatsapp.net'])"},"action":{"type":"string","enum":["add","remove","promote","demote"],"description":"Action to perform on the participants"}},"required":["channelId","groupJid","participants","action"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_group_settings","description":"Change WhatsApp group settings: 'announcement' (only admins send), 'not_announcement' (everyone sends), 'locked' (only admins edit info), 'unlocked' (everyone edits info). Requires admin.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"groupJid":{"type":"string","description":"Group JID (ending in @g.us)"},"setting":{"type":"string","enum":["announcement","not_announcement","locked","unlocked"],"description":"Group setting to apply"}},"required":["channelId","groupJid","setting"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_group_subject","description":"Update the name/subject of a WhatsApp group. Requires the bot to be a group admin.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"groupJid":{"type":"string","description":"Group JID (ending in @g.us)"},"subject":{"type":"string","minLength":1,"description":"New group name/subject"}},"required":["channelId","groupJid","subject"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_kb_entry","description":"Update the content, title, folder, or source of an existing knowledge base entry.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"kbId":{"type":"string","description":"Unique identifier of the knowledge base"},"entryId":{"type":"string","description":"Unique identifier of the entry to update"},"title":{"type":"string","description":"New title for the entry"},"content":{"type":"string","description":"New content for the entry"},"source":{"type":"string","enum":["manual","document","url"],"description":"New source type for the entry"},"folder":{"type":"string","description":"New folder: 'general', 'skills', 'contexts', 'documents', or 'faqs'"},"metadata":{"type":"object","additionalProperties":{},"description":"New metadata key-value pairs"}},"required":["kbId","entryId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_knowledge_base","description":"Update the properties of an existing knowledge base such as name, description, or root instruction.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the knowledge base to update"},"name":{"type":"string","description":"New name for the knowledge base"},"description":{"type":"string","description":"New description for the knowledge base"},"rootInstruction":{"type":"string","description":"New root instruction or context"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_list_campaign","description":"Update a paced list campaign's name, message source, batch size, schedule, exhaust behavior, or send settings. Changing the schedule reschedules the next run.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Campaign ID"},"name":{"type":"string","maxLength":255},"sendMode":{"type":"string","enum":["message","bot"]},"botId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"channelId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}]},"messageSource":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"static"},"text":{"type":"string","minLength":1,"description":"The message body sent to each contact in the batch"}},"required":["kind","text"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"rotation"},"messages":{"type":"array","items":{"type":"string","minLength":1},"minItems":1,"description":"Pool of messages"},"mode":{"type":"string","enum":["sequential","random"],"description":"Rotate in order (default) or pick randomly per run"}},"required":["kind","messages"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"content"},"ref":{"type":"string","minLength":1,"description":"A Neuron Note ID; its content becomes the message, fetched live at each run"}},"required":["kind","ref"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"ai"},"prompt":{"type":"string","minLength":1,"description":"Instruction for the message the AI should write"},"botId":{"type":"string","format":"uuid","description":"Bot whose system prompt supplies business context"},"personaId":{"type":"string","format":"uuid","description":"Persona whose voice the message is written in"},"perContact":{"type":"boolean","description":"Generate a distinct message per recipient (slower, more tokens). Default false = one message for the whole batch"}},"required":["kind","prompt"],"additionalProperties":false,"description":"AI-written message generated live at each run (BYOK-aware)"},{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"url":{"type":"string","format":"uri","description":"POSTed { campaignId, listId, contact? }; returns { message } or a bare string"},"perContact":{"type":"boolean","description":"Call once per recipient with the contact in the payload. Default false = one call per batch"}},"required":["kind","url"],"additionalProperties":false,"description":"Message fetched from your webhook at each run"}],"description":"How the message is resolved live at each batch run: 'static' (fixed), 'rotation' (cycle through several), 'ai' (AI-written), 'webhook' (from your service), or 'content' (a saved Neuron Note)."},"batchSize":{"type":"integer","minimum":1,"maximum":1000},"schedule":{"allOf":[{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"interval"},"everyMs":{"type":"integer","minimum":60000,"description":"Milliseconds between runs, e.g. 86400000 for daily"}},"required":["kind","everyMs"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"daily"},"hour":{"type":"integer","minimum":0,"maximum":23,"description":"UTC hour"},"minute":{"type":"integer","minimum":0,"maximum":59}},"required":["kind","hour"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"weekly"},"days":{"type":"array","items":{"type":"integer","minimum":0,"maximum":6},"minItems":1,"description":"Days of week, 0=Sun … 6=Sat"},"hour":{"type":"integer","minimum":0,"maximum":23,"description":"UTC hour"},"minute":{"type":"integer","minimum":0,"maximum":59}},"required":["kind","days","hour"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"monthly"},"dayOfMonth":{"type":"integer","minimum":1,"maximum":31},"hour":{"type":"integer","minimum":0,"maximum":23,"description":"UTC hour"},"minute":{"type":"integer","minimum":0,"maximum":59}},"required":["kind","dayOfMonth","hour"],"additionalProperties":false}]},{"type":"object","properties":{"timezone":{"type":"string","description":"IANA timezone the daily/weekly/monthly time is interpreted in, e.g. 'Africa/Lagos'. Defaults to UTC. Ignored for 'interval'. The schedule holds its local wall-clock time across DST."},"endAt":{"type":"string","description":"ISO date; the campaign completes after this"},"maxRuns":{"type":"integer","minimum":1,"description":"Stop after this many runs"}}}],"description":"When each batch fires. e.g. daily at 9am in Africa/Lagos, or every weekend."},"onExhaust":{"type":"string","enum":["stop","loop"]},"loopCooldownMs":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_member","description":"Update a member's permissions within the organization, such as conversation access. Only provided fields are changed.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"orgId":{"type":"string","description":"Unique identifier (UUID) of the organization"},"userId":{"type":"string","description":"Unique identifier (UUID) of the member to update"},"canViewConversations":{"type":"boolean","description":"Whether the member can view conversations"}},"required":["orgId","userId","canViewConversations"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_newsletter","description":"Update the name or description of an existing WhatsApp Channel newsletter. Only provided fields are changed.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the newsletter to update"},"name":{"type":"string","description":"New display name for the newsletter"},"description":{"type":"string","description":"New description for the newsletter"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_organization","description":"Update organization settings such as name, description, or configuration preferences. Only provided fields are changed.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"orgId":{"type":"string","description":"Unique identifier (UUID) of the organization to update"},"name":{"type":"string","description":"New display name for the organization"},"autoOptOutBroadcast":{"type":"boolean","description":"Auto-exclude a contact from broadcasts when they send a broadcast opt-out message (e.g. 'stop messaging me'). Off by default."},"autoSuppressHostile":{"type":"boolean","description":"Auto-exclude a contact from broadcasts when they are hostile about being contacted (e.g. cursing us out for messaging them). Off by default."}},"required":["orgId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_outbound_webhook","description":"Modify an existing outbound webhook's configuration, including its destination URL, subscribed event types, or filter prompt.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the outbound webhook to update"},"name":{"type":"string","description":"Updated human-readable name for the webhook"},"url":{"type":"string","description":"Updated destination URL that will receive webhook event payloads (HTTPS recommended)"},"eventTypes":{"type":"array","items":{"type":"string","enum":["message.created","message.assistant","conversation.created","conversation.escalated","conversation.closed","bot.paused","bot.resumed"]},"description":"Updated array of event types that should trigger this webhook"},"filterPrompt":{"type":"string","description":"Updated LLM prompt for selectively filtering forwarded events"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_persona","description":"Update a persona's name/description, or hand-tune its voiceProfile / exemplars.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Persona UUID"},"name":{"type":"string"},"description":{"type":"string"},"voiceProfile":{"type":"object","additionalProperties":{}},"exemplars":{"type":"array","items":{"type":"object","additionalProperties":{}}}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_pool_item","description":"Update a pool item you have published — metadata (name, description, category, tags) and content fields (setupInstructions, defaultSecrets for tool_template items). The underlying resource is re-snapshotted and version is bumped on every update.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the pool item to update"},"name":{"type":"string","description":"New display name for the pool listing"},"description":{"type":"string","description":"New detailed description for the pool listing"},"category":{"type":"string","description":"New category name for the pool listing"},"tags":{"type":"array","items":{"type":"string"},"description":"New list of tags for the pool listing"},"setupInstructions":{"type":"string","description":"Updated setup guide shown after installation (tool_template only, max 5000 chars)"},"defaultSecrets":{"type":"object","additionalProperties":{"type":"string"},"description":"Updated pre-filled secrets auto-populated on install, e.g. { OAUTH2_TOKEN_URL: 'https://...' }"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_privacy_setting","description":"Update a specific WhatsApp privacy setting. Settings: lastSeen (all/contacts/contact_blacklist/none), online (all/match_last_seen), profilePicture (all/contacts/contact_blacklist/none), status (all/contacts/contact_blacklist/none), readReceipts (all/none), groupsAdd (all/contacts/contact_blacklist).","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"setting":{"type":"string","enum":["lastSeen","online","profilePicture","status","readReceipts","groupsAdd"],"description":"Privacy setting to update"},"value":{"type":"string","minLength":1,"description":"New value for the setting (see description for allowed values per setting)"}},"required":["channelId","setting","value"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_product","description":"Update any field of a product (price, delivery, cover, enabled, fee payer, …).","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Product UUID"},"title":{"type":"string","description":"Product title shown to buyers"},"description":{"type":"string","description":"Rich description / what the buyer gets"},"priceMinor":{"type":"integer","description":"Current price (charged). Amount in kobo (minor units): ₦1 = 100. Minimum ₦500 = 50000. Set 0 for a free product (no payment)."},"originalPriceMinor":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Optional compare-at / 'was' price (kobo), shown struck through. Must be ≥ current price."},"currency":{"type":"string","description":"ISO currency (default NGN)"},"channelId":{"anyOf":[{"type":"string","format":"uuid"},{"type":"null"}],"description":"WhatsApp session UUID used to deliver the product (defaults to the org default channel)"},"deliveryType":{"type":"string","enum":["file","link","code"],"description":"How the product is delivered: 'file' (uploaded file), 'link' (URL), or 'code' (text/code)"},"deliveryFileUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}],"description":"For deliveryType 'file': the uploaded file URL (upload first with neuron_upload_media)"},"deliveryFileName":{"type":["string","null"],"description":"Filename shown in the WhatsApp document"},"deliveryText":{"type":["string","null"],"description":"For 'link'/'code': the link or code the buyer receives. Optional note for 'file'."},"coverImageUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}],"description":"Cover image URL"},"coverEmoji":{"type":["string","null"],"description":"Emoji used as a cover fallback (e.g. 📓)"},"coverType":{"type":"string","enum":["none","emoji","image","color","gradient"],"description":"How the cover renders"},"coverColor":{"type":["string","null"],"description":"Cover colour (hex) for 'color'/'gradient' cover types"},"coverColor2":{"type":["string","null"],"description":"Second colour (hex) for 'gradient' cover"},"content":{"type":"array","description":"Rich product-page content blocks. Ordered array of {type, ...}: heading {text,level}, text {markdown}, image {url,caption}, video {url}, callout {emoji,text}, collapsible {title,blocks[]}, divider {}, button {label,url}, embed {url}, spacer {}"},"theme":{"type":"object","additionalProperties":{"type":"string"},"description":"Per-product theme: { bg, accent, text (hex), mode: 'light'|'dark', layout: 'hero'|'side', coverAspect: '16/10'|'3/2'|'1/1'|'4/5', cta: buy-button label e.g. 'Reserve your hour' }"},"checkoutFields":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"label":{"type":"string"},"type":{"type":"string","enum":["text","textarea","number","email","phone","select"]},"required":{"type":"boolean"},"placeholder":{"type":"string"},"options":{"type":"array","items":{"type":"string"}}},"required":["key","label","type"],"additionalProperties":false},"description":"Custom checkout questions the buyer answers (name, address, specs/customisations…). Their answers are attached to the order and sent to the seller."},"kind":{"type":["string","null"],"description":"Short label e.g. 'E-book', 'Presets', 'Service'"},"category":{"type":["string","null"],"description":"Category label e.g. 'Productivity'"},"codeMode":{"type":"string","enum":["shared","pool","generated"],"description":"For deliveryType 'code': 'shared' (same text to every buyer), 'pool' (a unique code per sale from codes you upload — sells out when empty), or 'generated' (auto-mint a unique license key per sale)"},"codes":{"type":"array","items":{"type":"string"},"description":"For codeMode 'pool': the unique codes/keys to add (one gets sent per buyer). Appended to any existing pool."},"feePayer":{"type":"string","enum":["buyer","seller"],"description":"'buyer' (fee added on top, seller gets full price — default) or 'seller' (fee deducted)"},"enabled":{"type":"boolean","description":"Whether the product is live"},"membership":{"type":"boolean","description":"Make this a recurring subscription/membership: it tracks a paid period per buyer, renews from their Neuron wallet when possible (else emails a reminder — no card auto-charge), and marks them lapsed when the period + grace passes. React to membership.started/renewed/lapsed in Flows to deliver whatever the membership grants."},"membershipInterval":{"anyOf":[{"type":"string","enum":["daily","weekly","monthly"]},{"type":"null"}],"description":"Billing period. Required when membership is true."},"membershipGraceDays":{"type":"integer","minimum":0,"description":"Days after the period ends before an unpaid member lapses (and, if a group is attached, is removed from it). Default 1."},"membershipGroupSlug":{"type":["string","null"],"description":"OPTIONAL: attach a WhatsApp group as a membership perk. Org-unique handle (lowercase letters, numbers, hyphens); the group is created on the first sale, buyers are added on renewal and removed on lapse. Your connected number must be a group admin. Omit for a membership that isn't group-based."},"membershipGroupName":{"type":["string","null"],"description":"Group subject used when the attached group is auto-created (defaults to the product title). Only relevant with membershipGroupSlug."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_profile_name","description":"Update the bot's WhatsApp display name on the given channel.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"name":{"type":"string","minLength":1,"description":"New display name"}},"required":["channelId","name"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_profile_picture","description":"Update the bot's WhatsApp profile picture from an image URL.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"imageUrl":{"type":"string","format":"uri","description":"URL of the image to set as profile picture"}},"required":["channelId","imageUrl"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_profile_status","description":"Update the bot's WhatsApp status/bio text.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel identifier (UUID)"},"status":{"type":"string","minLength":1,"description":"New status/bio text"}},"required":["channelId","status"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_scheduled_message","description":"Update the message content, media, or send time of a scheduled message. Only messages with status 'scheduled' can be updated.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the scheduled message to update"},"message":{"type":"string","description":"New message text content"},"messageType":{"type":"string","description":"New message type: 'text', 'image', 'audio', 'video', or 'document'"},"mediaUrl":{"type":"string","description":"New media URL to attach"},"contactName":{"type":"string","description":"Updated display name for the recipient"},"sendAt":{"type":"string","description":"New ISO 8601 date-time for scheduled delivery (must be in the future)"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_social_channel","description":"Update an existing social media channel. Can update label, username, or refresh credentials.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the social channel to update"},"label":{"type":"string","description":"New display name for the channel"},"username":{"type":"string","description":"Updated social media username"},"credentials":{"type":"string","description":"Updated session credentials as JSON string"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_storefront","description":"Create or update the seller storefront (nestuge-style page). Handle is auto-generated from the display name if omitted.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"handle":{"type":"string","description":"URL handle (a-z, 0-9, hyphens). Becomes /s/<handle>."},"displayName":{"type":"string","description":"Store display name"},"bio":{"type":["string","null"],"description":"Short store bio"},"avatarUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"brandColor":{"type":["string","null"],"description":"Hex brand colour e.g. #188A56"},"socials":{"type":"object","additionalProperties":{"type":"string"},"description":"Map of social links e.g. { instagram: 'https://...' }"},"enabled":{"type":"boolean","description":"Whether the storefront is public"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_task","description":"Update a scheduled task's instruction, schedule, timezone, enabled state, or config. Only provided fields change.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"UUID of the task"},"title":{"type":"string"},"instruction":{"type":"string"},"scheduleKind":{"type":"string","enum":["cron","interval","once","manual"],"description":"cron = recurring at a clock time (slot); interval = every N minutes; once = a single future moment; manual = only runs on demand."},"schedule":{"type":"object","additionalProperties":{},"description":"Schedule payload matching scheduleKind. cron: { time: 'HH:MM', days?: number[] } (0=Sunday..6=Saturday; empty/omitted = every day). interval: { everyMinutes: number }. once: { runAt: ISO8601 string }. manual: {}."},"timezone":{"type":"string"},"enabled":{"type":"boolean"},"config":{"type":"object","properties":{"channelId":{"type":"string","description":"WhatsApp channel UUID to act on (defaults to the bot's primary)."},"maxActions":{"type":"integer","description":"Hard cap on outbound actions per run (default 25)."},"noRepeatDays":{"type":"integer","description":"Never re-message the same contact within this many days (default 14)."},"requiresApproval":{"type":"boolean","description":"Ask an admin on WhatsApp to approve before the task sends."},"approvalPhone":{"type":"string","description":"Admin phone (international format) to send the approval prompt to."},"dryRun":{"type":"boolean","description":"Simulate the run without actually sending messages."}},"additionalProperties":false,"description":"Safety / execution config for the task."}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_tool","description":"Modify an existing custom API tool's configuration, including its endpoint, authentication, or request template.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the tool to update"},"name":{"type":"string","description":"Updated human-readable name for the tool"},"description":{"type":"string","description":"Updated description of the tool's purpose"},"type":{"type":"string","enum":["http_api","webhook","mcp"],"description":"Updated type of the tool integration"},"config":{"type":"object","properties":{"endpoint":{"type":"string","description":"Updated target HTTP endpoint URL"},"method":{"type":"string","enum":["GET","POST","PUT","PATCH","DELETE"],"description":"Updated HTTP method"},"headers":{"type":"object","additionalProperties":{"type":"string"},"description":"Updated HTTP headers as key-value pairs"},"bodyTemplate":{"type":"string","description":"Updated Handlebars template for the request body"},"parametersSchema":{"type":"object","additionalProperties":{},"description":"Updated JSON Schema for tool parameters"},"mcpServerUrl":{"type":"string","description":"Updated MCP server URL"},"webhookUrl":{"type":"string","description":"Updated webhook URL"},"asyncConfig":{"type":"object","properties":{"pollingEndpoint":{"type":"string","description":"URL template with {{jobId}} placeholder for polling job status"},"pollingIntervalMs":{"type":"number","minimum":500,"maximum":30000,"description":"Milliseconds between poll requests (default: 2000)"},"maxPollingMs":{"type":"number","minimum":5000,"maximum":300000,"description":"Maximum time to poll before timeout (default: 120000)"},"jobIdPath":{"type":"string","description":"Dot-notation path to extract job ID from initial response"},"statusPath":{"type":"string","description":"Dot-notation path to status field in poll response"},"completedStatuses":{"type":"array","items":{"type":"string"},"description":"Status values indicating completion"},"failedStatuses":{"type":"array","items":{"type":"string"},"description":"Status values indicating failure"},"resultPath":{"type":"string","description":"Dot-notation path to extract final result from completed response"}},"additionalProperties":false,"description":"Configuration for async submit-poll-download APIs"}},"additionalProperties":false,"description":"Updated tool configuration"},"authType":{"type":"string","enum":["none","api_key","bearer","basic","oauth2"],"description":"Updated authentication type"},"rateLimit":{"type":"number","description":"Updated maximum requests per minute"},"timeoutMs":{"type":"number","description":"Updated request timeout in milliseconds"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_webhook","description":"Modify an existing inbound webhook's configuration, such as its name, event type, or processing prompt.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the webhook to update"},"name":{"type":"string","description":"Updated human-readable name of the webhook"},"eventType":{"type":"string","description":"Updated event type this webhook handles"},"processingPrompt":{"type":"string","description":"Updated prompt instructions for processing webhook data"},"isActive":{"type":"boolean","description":"Whether the webhook should be active and accepting requests"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_update_whatsapp_credentials","description":"Update WhatsApp Business API credentials for the organization. These credentials are required for sending messages via the WhatsApp Cloud API.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"orgId":{"type":"string","description":"Unique identifier (UUID) of the organization"},"whatsappPhoneNumberId":{"type":"string","description":"WhatsApp phone number ID from the Meta Business dashboard"},"whatsappBusinessAccountId":{"type":"string","description":"WhatsApp Business Account ID from the Meta Business dashboard"},"whatsappAccessToken":{"type":"string","description":"WhatsApp access token for API authentication (keep confidential)"}},"required":["orgId","whatsappPhoneNumberId","whatsappBusinessAccountId","whatsappAccessToken"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_upload_document","description":"Upload a text document to a knowledge base. The document will be automatically chunked and indexed for semantic search.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the knowledge base"},"content":{"type":"string","description":"Text content of the document to upload"},"filename":{"type":"string","description":"Name of the file being uploaded"},"folder":{"type":"string","description":"Folder path to organize the document within the knowledge base"}},"required":["id","content","filename"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_upload_media","description":"Upload a media file (image, video, audio, or document) by providing its base64-encoded content. Returns a URL for use in messages and broadcasts.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"base64":{"type":"string","description":"Base64-encoded file content (without data URI prefix)"},"filename":{"type":"string","description":"Original filename including extension (e.g., 'photo.jpg', 'report.pdf')"},"mimetype":{"type":"string","description":"MIME type of the file (e.g., 'image/jpeg', 'image/png', 'application/pdf', 'video/mp4')"}},"required":["base64","filename","mimetype"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_validate_social_channel","description":"Test whether the stored credentials for a social channel are still valid by making a test API call to the platform.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (UUID) of the social channel to validate"}},"required":["id"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_verify_bank_account","description":"Verify a Nigerian bank account number via Paystack to confirm the account holder name before saving.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"bankCode":{"type":"string","description":"Nigerian bank code (e.g., '058' for GTBank, '044' for Access Bank)"},"accountNumber":{"type":"string","description":"10-digit Nigerian bank account number to verify"}},"required":["bankCode","accountNumber"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_verify_wallet_funding","description":"Verify a wallet funding transaction using the Paystack payment reference to confirm the payment was successful.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"reference":{"type":"string","description":"Paystack payment reference returned from the checkout session"}},"required":["reference"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_wallet_balance","description":"Retrieve the current wallet balance for the organization, including available and pending amounts.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_wallet_transactions","description":"Retrieve the wallet transaction history for the organization, with optional filtering by transaction type.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"type":{"type":"string","description":"Filter by transaction type: 'credit' or 'debit'"},"page":{"type":"integer","exclusiveMinimum":0,"description":"Page number for pagination (default: 1)"},"limit":{"type":"integer","exclusiveMinimum":0,"description":"Number of transactions per page (default: 20)"}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_webagent_command_history","description":"See the launch/stop/open commands queued for the extension and their outcomes (pending|claimed|done|failed, plus the runId a launch created).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":200}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_webagent_get_run","description":"Fetch one run's status, config snapshot and latest live stats (captured/flushed/leads/reels/hops/scrolls). status is running|stopped|completed|killed|stale.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"runId":{"type":"string","description":"The agent-run id."}},"required":["runId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_webagent_kill","description":"The kill switch — flags a run to stop. It's cooperative: the browser extension stops on its next heartbeat (usually within ~12s) and finalizes the run.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"runId":{"type":"string","description":"The agent-run id to kill."}},"required":["runId"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_webagent_list_runs","description":"List browser-mission runs (live + recent). Stale runs (no heartbeat >2min) show as 'stale'. Note the result nests as data.data[].","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"status":{"type":"string","enum":["running","stopped","completed","killed","stale"],"description":"Filter by status."},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":200}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_webagent_open_launcher","description":"Ask the extension to open its Web Agent panel so the user can review/adjust a mission before it runs. Delivered on the extension's next poll.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_webagent_run","description":"Queue a browser mission for the user's Neuron extension to run — mine content into a Collection or prospects into the lead pool. Returns a command id; the extension picks it up on its next poll (so the browser must be open, signed in, and remote-control enabled in the extension). Watch it with neuron_webagent_list_runs / neuron_webagent_get_run and stop it with neuron_webagent_kill.","write_action":true,"price_micros":0,"input_schema":{"type":"object","properties":{"mission":{"type":"string","enum":["content","leads"],"description":"content = capture posts into a Collection; leads = capture prospects into the lead pool."},"platform":{"type":"string","enum":["ig","x","tk","li","fb"],"description":"ig=Instagram, x=X/Twitter, tk=TikTok, li=LinkedIn, fb=Facebook."},"sink":{"type":"string","enum":["collection","lead-pool"],"description":"Where output goes (defaults to match the mission)."},"posture":{"type":"string","enum":["read-only","read-light","active"],"description":"How much it interacts (default read-light; 'active' enables hop + cinematic)."},"pacing":{"type":"string","enum":["gentle","normal","brisk"],"description":"Speed/rate (default normal)."},"caps":{"type":"object","properties":{"targetItems":{"type":"integer","exclusiveMinimum":0},"maxDurationMin":{"type":"integer","exclusiveMinimum":0},"maxScrolls":{"type":"integer","exclusiveMinimum":0}},"additionalProperties":false,"description":"Stop conditions."},"collectionName":{"type":"string","description":"content mission: the Collection to fill (created if new)."},"leadTags":{"type":"array","items":{"type":"string"},"description":"leads mission: tags to attach to captured leads."},"seeds":{"type":"array","items":{"type":"string","format":"uri"},"description":"active posture: starting URLs (hashtag/search/profile pages) to crawl from."},"hop":{"type":"object","properties":{"enabled":{"type":"boolean"},"maxHops":{"type":"integer"},"maxPages":{"type":"integer"},"followBioLinks":{"type":"boolean"}},"required":["enabled"],"additionalProperties":false,"description":"active posture: multi-hop navigation from seeds."},"cinematic":{"type":"object","properties":{"enabled":{"type":"boolean"},"maxFrames":{"type":"integer","minimum":2,"maximum":8}},"required":["enabled"],"additionalProperties":false,"description":"active posture: cinematic reel/video capture."},"url":{"type":"string","format":"uri","description":"Optional page to open the mission on (else the platform home / active tab)."}},"required":["mission","platform"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_webagent_stop","description":"Queue a graceful stop for the current mission (the extension finalizes it). For an immediate hard stop of a specific run, use neuron_webagent_kill.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"runId":{"type":"string","description":"Specific run to stop (else the active one)."}},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}},{"name":"neuron_whoami","description":"Check which Neuron account is currently logged in, including user name, email, role, and organization.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"}}],"scan":{"score":63,"grade":"C","scanned_at":"2026-09-26T16:33:04.776Z","report":{"scannerVersion":"0.1.9","scannedAt":"2026-09-26T16:33:04.768Z","components":{"code":{"score":25,"max":25,"notes":["59 source files scanned"]},"reliability":{"score":17,"max":20,"notes":["remote reachable in 2808ms"]},"poisoning":{"score":13,"max":15,"notes":["383 tool descriptions checked"]},"auth":{"score":3,"max":15,"notes":["open endpoint exposes 146 write-action tools with no auth"]},"maintenance":{"score":3,"max":15,"notes":["repository not readable: repo not found"]},"identity":{"score":2,"max":10,"notes":["no repository or website to verify"]}},"findings":[{"id":"auth.open-write","severity":"high","component":"auth","title":"Write-action tools reachable without authentication"},{"id":"poison.long-description","severity":"low","component":"poisoning","title":"Unusually long tool description (over 2,000 characters)","evidence":"tool neuron_create_flow: …Create a new automation flow. A flow is a directed graph of nodes connected by edges. The graph MUST start with at least one trigger node (entry point). Edges connect nodes via output handles. BEFORE BUILDING: call neuron_get_flow_catalog and read its `reference` — it carries the JSON shapes you cannot guess: the ConditionGroup + operator list for branch/filter/switch conditions, the `cases`/`assignments`/`weekdays` composite shapes, the handle wiring map, and copy-ready `examples`. Condition `field` on a logic node must be a {{template}} (e.g. '{{trigger.text}}'); on a trigger's config.conditions it is a raw payload path (e.g. 'text'). AFTER SAVING: the flow always saves, but the response includes a `warnings` array flagging likely bugs (unknown node type, missing required field, malformed conditions/cases/assignments, edges wired to a handle a node never emits, missing trigger). Always check it and fix any warnings — a warning means that part will silently no-op at run time. TEMPLATE RESOLUTION: Node config values support {{…}} templates resolved at runtime: {{trigger.text}} — the triggering message text {{trigger.contactPhone}} — the sender's phone {{trigger.senderName}} — the sender's name {{vars.myVar}} — a variable set by logic.set_variable {{nodes.n_abc.output.text}} — output from a previous node {{= amount * 1.1 }} — inline expression (arithmetic, comparisons, ternary) ERROR HANDLING: Any node's config can include __errorHandling: { continueOnFail: true, retryCount: 3, retryDelayMs: 1000 } to retry on failure with exponential backoff and/or continue on the 'error' handle instead of failing the run. WIRING RULES: - logic.branch: 'true' and 'false' handles - logic.switch / logic.ai_router: one handle per case id, plus 'default' - logic.wait_for_reply: 'default' (replied) and 'timeout' - logic.wait_for_approval: 'approved', 'rejected', 'timeout' - logic.wait_first_of: 'reply', 'event', 'timeout' - logic.loop: 'loop' (body) and 'done' - action.lookup_contact: 'found' and 'not_found' - action.call_flow: 'default' (returned), 'timeout', 'error' - All other nodes: 'default' handle (or 'error' when continueOnFail is on)…"}],"inputs":{"probes":[{"url":"https://mcp.neuron.ng/mcp","reachable":true,"authRequired":false,"latencyMs":2808,"serverInfo":{"name":"neuron-mcp-server","version":"1.1.2"}}],"packages":[{"registryType":"npm","identifier":"neuron-mcp-server","version":"1.0.1","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":6,"publishedAt":"2026-06-28T09:22:10.373Z","repositoryUrl":"git+https://github.com/conquext/neuron-mcp-server.git","weeklyDownloads":46}],"repo":{"found":false,"owner":"conquext","repo":"neuron","error":"repo not found"},"icon":{"url":null,"source":"none"},"presence":{"stars":null,"forks":null,"downloadsWeek":46,"license":"MIT","lastPushAt":null,"score":13}}}},"grade_history":[],"reviews":[]}