list_sms
List SMS received on a phone number (id, from_number, text, received_at per message — the text rides in the summary). Set wait to long-poll for new messages; use since as a cursor.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Long-poll up to this many seconds (max 60) for a matching message instead of returning an empty list immediately. | |
| match | No | Filter: `from:term`, `to:term`, or `body:term`; a bare term matches the body. | |
| since | No | Only messages received after this RFC 3339 timestamp. Use the received_at of the last message you saw as a cursor. | |
| phone_number_id | Yes | Phone number id (uuid). |