twilio_list_messages
Retrieve recent SMS messages with optional filters for phone numbers and date range. View message history including status and pricing.
Instructions
List recent SMS messages with optional filters. View sent and received message history with status and pricing.
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": "twilio_list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Filter by recipient phone number | |
| from | No | Filter by sender phone number | |
| limit | No | Number of messages to return (1-100). Default: 20 | |
| date_sent_after | No | Only include messages sent after this date (ISO 8601, e.g. 2024-01-01) | |
| date_sent_before | No | Only include messages sent before this date (ISO 8601) |