List SMS Messages
list_sms_messagesRead SMS and WhatsApp message evidence for accessible businesses (sms:read), including provider message ID, carrier status, delivery/failure timestamps and failure code. Filter by business_id, conversation or direction, and search by phone number (either side), words in the message, and date window. Provider acceptance is not delivery; delivered_at and carrier status record delivery. Uses offset pagination.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_sms_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Only items at or after this ISO-8601 date or time (optional). | |
| limit | No | Max results to return (default 50, max 100) | |
| phone | No | Only this caller: any phone format; matches on the last 10 digits (optional). | |
| query | No | Words to find in the message text (optional). | |
| before | No | Only items before this ISO-8601 date or time (optional). | |
| offset | No | Zero-based pagination offset (default 0) | |
| direction | No | Filter by direction: inbound or outbound (optional) | |
| business_id | No | Narrow to one accessible business (optional). | |
| conversation_id | No | Filter by conversation ID (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| error | No | Present when success is false | |
| limit | No | ||
| offset | No | ||
| filters | No | ||
| success | Yes | Whether the tool completed successfully | |
| has_more | No | ||
| messages | No | ||
| next_offset | No |