list_messages
Fetch SMS messages for a DID, applying filters by sender, recipient, direction, status, and pagination controls.
Instructions
List SMS messages for a DID. Optional from, to, direction, status, cursor, limit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"did": "<did>"
},
"name": "list_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Filter end time or recipient | |
| did | Yes | SMS DID number | |
| from | No | Filter start time or sender | |
| limit | No | Page size | |
| cursor | No | Pagination cursor | |
| status | No | Message status filter | |
| direction | No | inbound | outbound |