chatbot_manage
Manage chatbot instances by creating, updating, deleting, monitoring sessions, generating tokens, and analyzing performance within the FleetQ platform.
Instructions
Manage chatbot instances. Actions: list, get (chatbot_id), create (name, agent_id, config), update (chatbot_id + fields), delete (chatbot_id), toggle_status (chatbot_id), token_create (chatbot_id), token_revoke (chatbot_id, token_id), session_list (chatbot_id), analytics (chatbot_id), learning_entries (chatbot_id).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action to perform: list, get, create, update, delete, toggle_status, token_create, token_revoke, session_list, analytics, learning_entries | |
| status | No | Filter by status: active, inactive, draft, suspended | |
| limit | No | Max results (default 20, max 100) | |
| id | Yes | Chatbot UUID or slug | |
| name | Yes | Chatbot display name | |
| type | Yes | Chatbot type | |
| system_prompt | Yes | System prompt for the backing agent | |
| provider | No | LLM provider (default: anthropic) | anthropic |
| model | No | LLM model (default: claude-haiku-4-5) | |
| description | No | Optional description | |
| welcome_message | No | Welcome message shown on first open | |
| confidence_threshold | No | Confidence threshold for escalation (0.0-1.0, default 0.7) | |
| human_escalation_enabled | No | Enable human escalation for low-confidence responses | |
| workflow_id | No | Optional workflow UUID to delegate message processing | |
| approval_timeout_hours | No | Hours before escalated approval expires (default 48) | |
| fallback_message | No | Fallback message for escalated responses | |
| widget_config | No | Widget config: {position, theme_color, title} | |
| chatbot_id | Yes | The chatbot UUID | |
| rotate_existing | No | If true, existing active tokens get a 48-hour expiry grace period before being invalidated. Default: false | |
| token_id | Yes | The chatbot token UUID (returned by chatbot_token_create) | |
| channel | No | Filter by channel: web_widget, api, telegram, slack | |
| days | No | Number of days to look back (default 30, max 90) |