WhatsApp Get Messages Tool
AI tool to retrieve WhatsApp messages with smart filteringProperties
| Property | Value |
|---|---|
| Type | whatsapp-tool-get-messages |
| Family | AI |
| Group | Tools |
Parameters
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| toolName | Tool Name | String | Name of the tool for the AI to call | Yes |
| toolDescription | Tool Description | String | Description of what this tool does | Yes |
| defaultLimit | Default Limit | Number | Default number of messages to retrieve if not specified by AI | No |
| chat_jid | Chat JID | String | The JID of the chat to retrieve messages from (required) | No |
| search | Search Query | String | Optional text to search for in messages | No |
| limit | Limit | Number | Maximum number of messages to return (default: 20, max: 100) | No |
| offset | Offset | Number | Number of messages to skip for pagination | No |
| sender_jid | Sender JID | String | Optional: Filter by sender JID | No |
| message_type | Message Type | String | Optional: Filter by type (text, image, video, audio, document) | No |
| before_date | Before Date | String | Optional: Only messages before this ISO 8601 date | No |
| after_date | After Date | String | Optional: Only messages after this ISO 8601 date | No |
| include_media_urls | Include Media URLs | Bool | Whether to include media URLs in response | No |
Outputs
| Name | Label | Type | Description |
|---|---|---|---|
| toolName | toolName | string | Name of the tool |
| toolType | toolType | string | Type of tool |

