Read a text thread
get_textsThe text messages with a merchant, both directions, oldest to newest, with who sent each of ours (a rep, a batch, or the AI holding the conversation), pictures and files they sent named, whether the number said STOP, and whether the AI holds the thread. Give lead_id for the lead's latest thread (its other threads are named), or conversation_id for one thread; pass cursor to read older messages. A text the carrier took is not proof it arrived.
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": "get_texts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many to return, at most 50 (more is cut to 50). | |
| cursor | No | The cursor a previous page of this tool gave, to read the next page. Leave it out for the first. | |
| lead_id | No | The lead's id; reads its newest thread. | |
| conversation_id | No | One thread's id (from get_lead, a search, or a previous answer). |