get_sms_thread
Retrieve the full SMS conversation history with a contact using their phone number and your Commune phone number ID. Messages are ordered chronologically with direction, body, and timestamps.
Instructions
Get all messages in an SMS thread with a specific number.
Returns chronological messages with direction, body, and timestamps.
Args: remote_number: The external phone number in E.164 format, e.g. "+15551234567" phone_number_id: Your Commune phone number ID for this conversation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remote_number | Yes | ||
| phone_number_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |