Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WAHA_API_KEY | Yes | Your WAHA API key for authentication | |
| WAHA_SESSION | No | WhatsApp session name | default |
| WAHA_BASE_URL | Yes | Your WAHA server URL (e.g., http://localhost:3000) |
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 |
|---|---|
| waha_get_chats | Get overview of recent WhatsApp chats. Returns chat ID, name, last message preview, and unread count. Default limit is 10 chats. |
| waha_get_messages | Get messages from a specific WhatsApp chat. Returns message content, sender, timestamp, and status. Default limit is 10 messages. |
| waha_send_message | Send a text message to a WhatsApp chat. Returns message ID and delivery timestamp. |
| waha_mark_chat_read | Mark messages in a chat as read. Can specify number of recent messages or time range in days. |