messages_send
Send iMessage or SMS messages to phone numbers or Apple ID emails, including group chats, with optional attachments and dry-run previews before confirming.
Instructions
Send an iMessage or SMS. Address it with 'to' (E.164 phone numbers like +15551234567, or Apple ID emails) or with 'chat_id' (a chat GUID from chat.db, e.g. 'iMessage;-;+15551234567' or 'iMessage;+;chat123456'). Group chats and multiple recipients require confirm=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Phone numbers in E.164 form or Apple ID emails | |
| text | No | Message text (required unless attachment_path is given) | |
| chat_id | No | Existing chat GUID; verified against the Messages database before sending | |
| confirm | No | Required for deletes and multi-recipient sends; without it the call only previews | |
| dry_run | No | Preview only: report what would happen and change nothing (default false) | |
| service | No | Delivery service (default auto: iMessage, then SMS relay) | |
| attachment_path | No | Absolute path to an existing file on this Mac to attach |