Create Bot
neuron_create_botCreate a new AI bot with specified name, model, and behavior instructions. Returns the created bot object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the bot | |
| llmModel | No | OpenRouter model ID (e.g., 'google/gemini-2.5-flash-lite', 'openrouter/auto') | |
| metadata | No | 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. | |
| maxTokens | No | Maximum number of tokens the bot can generate per response | |
| assignment | No | One-sentence role definition for the bot (max 2000 chars) | |
| systemPrompt | Yes | System prompt that defines the bot's behavior, personality, and response guidelines | |
| llmTemperature | No | Temperature parameter controlling response randomness (0 = deterministic, 2 = creative) | |
| welcomeMessage | No | 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 | No | Message sent when the bot cannot understand user input (max 2000 chars) | |
| greetingMessage | No | Automatic greeting sent when a new conversation starts (max 2000 chars) | |
| escalationPrompt | No | Prompt template used when escalating to a human agent (max 5000 chars) | |
| responsibilities | No | Array of responsibility descriptions defining what the bot handles | |
| whatsappChannelId | No | Unique identifier (UUID) of the WhatsApp channel to associate with the bot |