Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PORT | No | Server port | 3000 |
NODE_ENV | No | Environment (development, production, test) | development |
LOG_LEVEL | No | Logging level (error, warn, info, debug) | info |
WSAPI_API_KEY | Yes | Your WSAPI API key | |
WSAPI_TIMEOUT | No | Request timeout in milliseconds | 30000 |
WSAPI_BASE_URL | No | WSAPI base URL | https://api.wsapi.chat |
WSAPI_INSTANCE_ID | Yes | Your WSAPI instance ID | |
WSAPI_RETRY_DELAY | No | Delay between retries in milliseconds | 1000 |
WSAPI_RETRY_ATTEMPTS | No | Number of retry attempts | 3 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
whatsapp_send_text | Send a text message to a WhatsApp contact or group. Supports mentions and replies. |
whatsapp_send_image | Send an image message to a WhatsApp contact or group. Can send from URL or base64. |
whatsapp_send_video | Send a video message to a WhatsApp contact or group. Can send from URL or base64. |
whatsapp_send_link | Send a link message with optional preview to a WhatsApp contact or group. |
whatsapp_send_reaction | Send a reaction (emoji) to a specific message. |
whatsapp_edit_message | Edit a previously sent text message. |
whatsapp_delete_message | Delete a message for all participants in the chat. |
whatsapp_mark_message_read | Mark a message as read. |
whatsapp_star_message | Star or unstar a message. |
whatsapp_send_audio | Send an audio file message to a WhatsApp contact or group. Can send from URL or base64. |
whatsapp_send_voice | Send a voice message (PTT) to a WhatsApp contact or group. Can send from URL or base64. |
whatsapp_send_document | Send a document file to a WhatsApp contact or group. Can send from URL or base64. |
whatsapp_send_sticker | Send a sticker message to a WhatsApp contact or group. Can send from URL or base64. |
whatsapp_send_location | Send a location message to a WhatsApp contact or group. |
whatsapp_send_contact | Send a contact (vCard) message to a WhatsApp contact or group. |
whatsapp_get_contacts | Get list of all WhatsApp contacts. |
whatsapp_get_contact | Get information about a specific WhatsApp contact. |
whatsapp_create_contact | Create a new WhatsApp contact. |
whatsapp_update_contact | Update an existing WhatsApp contact. |
whatsapp_get_contact_picture | Get the profile picture of a WhatsApp contact. |
whatsapp_get_contact_business | Get the business profile information of a WhatsApp contact. |
whatsapp_subscribe_contact_presence | Subscribe to presence updates for a specific contact. |
whatsapp_get_groups | Get list of all WhatsApp groups. |
whatsapp_create_group | Create a new WhatsApp group. |
whatsapp_get_group | Get information about a specific group. |
whatsapp_update_group_name | Update group name. |
whatsapp_get_chats | Get list of all WhatsApp chats. |
whatsapp_get_chat | Get information about a specific chat. |
whatsapp_set_chat_presence | Set presence status in a chat (typing, recording, paused). |
whatsapp_archive_chat | Archive or unarchive a chat. |
whatsapp_pin_chat | Pin or unpin a chat. |
whatsapp_get_session_status | Get current WhatsApp session status. |
whatsapp_get_qr_code | Get QR code for WhatsApp login. |
whatsapp_get_qr_code_image | Get QR code image for WhatsApp login. |
whatsapp_get_pair_code | Get pairing code for WhatsApp login. |
whatsapp_logout | Logout from WhatsApp. |
whatsapp_get_instance_settings | Get current instance settings. |
whatsapp_update_instance_settings | Update instance settings. |
whatsapp_restart_instance | Restart the WhatsApp instance. |
whatsapp_update_api_key | Generate a new API key for the instance. |
whatsapp_get_account_info | Get current account information. |
whatsapp_set_account_name | Update account display name. |
whatsapp_set_account_picture | Update account profile picture. |
whatsapp_set_account_presence | Set account presence status. |
whatsapp_set_account_status | Update account status message. |