Update Bot
neuron_update_botUpdate an existing bot's configuration. Only provided fields are modified; omitted fields remain unchanged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique identifier (UUID) of the bot to update | |
| name | No | New 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. 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. | |
| 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 | No | New system prompt defining the bot's behavior and personality | |
| 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 |