MCPcopy Create free account

hub / github.com/Zie619/automation-stack / functions

Functions75 in github.com/Zie619/automation-stack

↓ 4 callersMethodClose
Close the database connection
whatsapp-mcp/whatsapp-bridge/main.go:97
↓ 4 callersMethodGetFileEncSHA256
GetFileEncSHA256 implements the DownloadableMessage interface
whatsapp-mcp/whatsapp-bridge/main.go:547
↓ 4 callersMethodGetFileLength
GetFileLength implements the DownloadableMessage interface
whatsapp-mcp/whatsapp-bridge/main.go:537
↓ 4 callersMethodGetFileSHA256
GetFileSHA256 implements the DownloadableMessage interface
whatsapp-mcp/whatsapp-bridge/main.go:542
↓ 4 callersMethodGetMediaKey
GetMediaKey implements the DownloadableMessage interface
whatsapp-mcp/whatsapp-bridge/main.go:532
↓ 4 callersMethodGetURL
GetURL implements the DownloadableMessage interface
whatsapp-mcp/whatsapp-bridge/main.go:527
↓ 2 callersFunctionGetChatName
GetChatName determines the appropriate name for a chat based on JID and other info
whatsapp-mcp/whatsapp-bridge/main.go:926
↓ 2 callersMethodStoreChat
Store a chat in the database
whatsapp-mcp/whatsapp-bridge/main.go:102
↓ 2 callersMethodStoreMessage
Store a message in the database
whatsapp-mcp/whatsapp-bridge/main.go:111
↓ 2 callersFunctionextractMediaInfo
Extract media info from a message
whatsapp-mcp/whatsapp-bridge/main.go:375
↓ 2 callersFunctionformat_message
Print a single message with consistent formatting.
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:94
↓ 2 callersFunctionformat_messages_list
(messages: List[Message], show_chat_info: bool = True)
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:114
↓ 1 callersMethodGetMediaInfo
Get media info from the database
whatsapp-mcp/whatsapp-bridge/main.go:497
↓ 1 callersFunctionNewMessageStore
Initialize message store
whatsapp-mcp/whatsapp-bridge/main.go:50
↓ 1 callersFunctionanalyzeOggOpus
analyzeOggOpus tries to extract duration and generate a simple waveform from an Ogg Opus file
whatsapp-mcp/whatsapp-bridge/main.go:1187
↓ 1 callersFunctionconvert_to_opus_ogg
Convert an audio file to Opus format in an Ogg container. Args: input_file (str): Path to the input audio file output_fi
whatsapp-mcp/whatsapp-mcp-server/audio.py:5
↓ 1 callersFunctionconvert_to_opus_ogg_temp
Convert an audio file to Opus format in an Ogg container and store in a temporary file. Args: input_file (str): Path to the inpu
whatsapp-mcp/whatsapp-mcp-server/audio.py:64
↓ 1 callersFunctiondownloadMedia
Function to download media from a message
whatsapp-mcp/whatsapp-bridge/main.go:557
↓ 1 callersFunctionextractDirectPathFromURL
Extract direct path from a WhatsApp media URL
whatsapp-mcp/whatsapp-bridge/main.go:659
↓ 1 callersFunctionextractTextContent
Extract text content from a message
whatsapp-mcp/whatsapp-bridge/main.go:176
↓ 1 callersFunctionget_message_context
Get context around a specific message.
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:226
↓ 1 callersFunctionget_sender_name
(sender_jid: str)
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:50
↓ 1 callersFunctionhandleHistorySync
Handle history sync events
whatsapp-mcp/whatsapp-bridge/main.go:1009
↓ 1 callersFunctionhandleMessage
Handle regular incoming messages with media support
whatsapp-mcp/whatsapp-bridge/main.go:412
↓ 1 callersFunctionhandleSend
()
whatsapp-mcp/whatsapp-dashboard/src/components/ChatInput.jsx:6
↓ 1 callersFunctionmin
min returns the smaller of x or y
whatsapp-mcp/whatsapp-bridge/main.go:1294
↓ 1 callersFunctionplaceholderWaveform
placeholderWaveform generates a synthetic waveform for WhatsApp voice messages that appears natural with some variability based on the duration
whatsapp-mcp/whatsapp-bridge/main.go:1303
↓ 1 callersFunctionsendWhatsAppMessage
Function to send a WhatsApp message
whatsapp-mcp/whatsapp-bridge/main.go:206
↓ 1 callersFunctionserialize
(obj)
whatsapp-mcp/whatsapp-mcp-server/main.py:36
↓ 1 callersFunctionstartRESTServer
Start a REST API server to expose the WhatsApp client functionality
whatsapp-mcp/whatsapp-bridge/main.go:679
FunctionApp
()
whatsapp-mcp/whatsapp-dashboard/src/App.jsx:1
FunctionChatInput
({ onSend })
whatsapp-mcp/whatsapp-dashboard/src/components/ChatInput.jsx:3
FunctionChatList
({ chats, onSelect })
whatsapp-mcp/whatsapp-dashboard/src/components/ChatList.jsx:1
MethodGetChats
Get all chats
whatsapp-mcp/whatsapp-bridge/main.go:154
MethodGetDirectPath
GetDirectPath implements the DownloadableMessage interface
whatsapp-mcp/whatsapp-bridge/main.go:522
MethodGetMediaType
GetMediaType implements the DownloadableMessage interface
whatsapp-mcp/whatsapp-bridge/main.go:552
MethodGetMessages
Get messages from a chat
whatsapp-mcp/whatsapp-bridge/main.go:128
FunctionMessageList
({ messages })
whatsapp-mcp/whatsapp-dashboard/src/components/MessageList.jsx:1
MethodStoreMediaInfo
Store additional media info in the database
whatsapp-mcp/whatsapp-bridge/main.go:488
Functiondecorator
(func: Callable)
whatsapp-mcp/whatsapp-mcp-server/main.py:50
Functiondownload_media
Download media from a message and return the local file path. Args: message_id: The ID of the message containing the media ch
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:727
Functiondownload_media
(message_id: str, chat_jid: str)
whatsapp-mcp/whatsapp-mcp-server/main.py:217
Functionget_chat
Get chat metadata by JID.
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:535
Functionget_chat
(chat_jid: str, include_last_message: bool = True)
whatsapp-mcp/whatsapp-mcp-server/main.py:156
Functionget_contact_chats
Get all chats involving the contact. Args: jid: The contact's JID to search for limit: Maximum number of chats to return (def
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:435
Functionget_contact_chats
(jid: str, limit: int = 20, page: int = 0)
whatsapp-mcp/whatsapp-mcp-server/main.py:170
Functionget_direct_chat_by_contact
Get chat metadata by sender phone number.
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:583
Functionget_direct_chat_by_contact
(sender_phone_number: str)
whatsapp-mcp/whatsapp-mcp-server/main.py:162
Functionget_last_interaction
Get most recent message involving the contact.
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:486
Functionget_last_interaction
(jid: str)
whatsapp-mcp/whatsapp-mcp-server/main.py:176
Functionget_message_context
(message_id: str, before: int = 5, after: int = 5)
whatsapp-mcp/whatsapp-mcp-server/main.py:184
Functionget_openai_tool_schema
()
whatsapp-mcp/whatsapp-mcp-server/main.py:227
Methodis_group
Determine if chat is a group based on JID pattern.
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:34
FunctionlistChats
()
whatsapp-mcp/whatsapp-dashboard/src/api.js:8
FunctionlistMessages
(chat_jid)
whatsapp-mcp/whatsapp-dashboard/src/api.js:20
Functionlist_chats
Get chats matching the specified criteria.
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:319
Functionlist_chats
(query: Optional[str] = None, limit: int = 20, page: int = 0, include_last_message: bool = True
whatsapp-mcp/whatsapp-mcp-server/main.py:127
Functionlist_messages
Get messages matching the specified criteria with optional context.
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:124
Functionlist_messages
(after: Optional[str] = None, before: Optional[str] = None, sender_phone_number: Optional[st
whatsapp-mcp/whatsapp-mcp-server/main.py:144
Functionlist_tools
()
whatsapp-mcp/whatsapp-mcp-server/main.py:82
Functionmain
()
whatsapp-mcp/whatsapp-bridge/main.go:789
Functionregister_tool
(name: str, description: str = "", params: Optional[Dict[str, str]] = None)
whatsapp-mcp/whatsapp-mcp-server/main.py:49
FunctionrequestHistorySync
Request history sync from the server
whatsapp-mcp/whatsapp-bridge/main.go:1151
Functionrun_tool
( data: ToolRequest, username: str = Depends(verify_credentials) )
whatsapp-mcp/whatsapp-mcp-server/main.py:86
Functionsearch_contacts
Search contacts by name or phone number.
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:393
Functionsearch_contacts
(query: str)
whatsapp-mcp/whatsapp-mcp-server/main.py:134
FunctionsendMessage
(recipient, message)
whatsapp-mcp/whatsapp-dashboard/src/api.js:32
Functionsend_audio_message
(recipient: str, media_path: str)
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:687
Functionsend_audio_message
(recipient: str, media_path: str)
whatsapp-mcp/whatsapp-mcp-server/main.py:209
Functionsend_file
(recipient: str, media_path: str)
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:653
Functionsend_file
(recipient: str, media_path: str)
whatsapp-mcp/whatsapp-mcp-server/main.py:201
Functionsend_message
(recipient: str, message: str)
whatsapp-mcp/whatsapp-mcp-server/whatsapp.py:625
Functionsend_message
(recipient: str, message: str)
whatsapp-mcp/whatsapp-mcp-server/main.py:191
Functionserve_ui_root
()
whatsapp-mcp/whatsapp-mcp-server/main.py:77
Functionverify_credentials
(credentials: HTTPBasicCredentials = Depends(security))
whatsapp-mcp/whatsapp-mcp-server/main.py:20