List contacts
Contacts of the account, filtered by list, segment or search.
MCP tool simpletexting_read → list_contacts
read
Reads the Contacts page: name, phone number, email, the lists the contact belongs to and whether the contact is subscribed. Filter by list name, by segment name or by a search. Page with next_cursor. The call reads only; it never texts anyone.
Parameters
| Name | Type | Description |
|---|---|---|
| list string | string | Name of a contact list. |
| segment string | string | Name of a segment, from list_segments. |
| query string | string | Name, phone number or email. |
| limit integer | integer | Page size. |
| cursor string | string | next_cursor from the previous call. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "simpletexting_read",
"arguments": {
"operation": "list_contacts",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"contacts": [
{
"name": "Dana Whitfield",
"phone": "+12125550147",
"email": "dana.whitfield@example.com",
"lists": [
"Patients"
],
"subscribed": true
},
{
"name": "Marcus Lee",
"phone": "+12125550163",
"email": "marcus.lee@example.com",
"lists": [
"Patients",
"Class reminders"
],
"subscribed": true
}
],
"next_cursor": null
},
"isError": false
}