Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GREENAPI_API_TOKEN | Yes | Your GreenAPI API token | |
| GREENAPI_ID_INSTANCE | Yes | Your GreenAPI ID instance |
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 |
|---|---|
| open_session | Open a new WhatsApp session. |
| send_message | Send a message to a chat.
Parameters:
- phone_number: The phone number of the recipient
- content: The content of the message to send
- reply_to: ID of the message to reply to (optional) |
| get_chats | Get a list of chats.
Parameters:
- limit: Maximum number of chats to return (default: 50)
- offset: Offset for pagination (default: 0) |
| create_group | Create a new WhatsApp group.
Parameters:
- group_name: Name of the group to create
- participants: List of participant phone numbers |
| get_group_participants | Get the participants of a WhatsApp group.
Parameters:
- group_id: The WhatsApp ID of the group |