send_message
Send messages via iMessage or SMS on macOS to existing conversations. Requires Messages.app running with Automation permissions.
Instructions
Send a message to an existing conversation via AppleScript.
IMPORTANT LIMITATIONS:
Can only send to contacts with EXISTING conversations in Messages
No delivery confirmation - the message may silently fail to send
Messages.app must be running
Requires Automation permission for Messages.app
Args: recipient: Phone number or email address of the recipient message: The message text to send service: Service type - "iMessage" or "SMS" (default: iMessage)
Returns: Dictionary with success status and any warnings/errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipient | Yes | ||
| message | Yes | ||
| service | No | iMessage |