Skip to content

API Reference parrot_tools.messaging.whatsapp

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot_tools.messaging.whatsapp

View source

WhatsApp Tool - Send and receive WhatsApp messages via whatsmeow bridge.

Alias AbstractTool

Re-exported from parrot_tools.abstract.AbstractTool.

Class WhatsAppSendInput

Input schema for sending WhatsApp messages.

Fields:

Field Type Default Description
phone str Phone number in international format without + (e.g., '14155552671')
message str Message content to send
media_url Optional[str] Optional media URL to send with the message

Class WhatsAppTool

Send WhatsApp messages through the whatsmeow bridge.

This tool communicates with the Go-based WhatsApp Bridge to send messages. The bridge handles authentication, session management, and message delivery.

Features:

  • Send text messages
  • Send media (images, videos, documents)
  • Check connection status
  • Automatic reconnection handling
Parameter Type Default Description
bridge_url Optional[str] None URL of the WhatsApp Bridge (default: from config).
timeout int 30 Request timeout in seconds.
**kwargs {} Additional arguments for AbstractTool.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally