detect_message_service
Inspect your local iMessage history to determine if a recipient can receive iMessage, SMS/RCS, or auto before sending a message.
Instructions
Inspect local Messages history for a recipient and recommend iMessage, SMS/RCS, or auto before sending. This is best-effort because Apple does not expose a direct preflight availability API.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number, email address, or contact name. | |
| limit | No | Number of recent matching outgoing messages to inspect (default: 20). |