list_sms_threads
Retrieve SMS threads with lead-management details like notes, value, tags, qualification, and state. Filter by date range, company, or search to find and update lead threads.
Instructions
List SMS threads. Unlike list_text_messages (conversation
transcripts), threads carry the lead-management surface: notes,
value, tags, lead_qualification, state. Threads are UPDATABLE
via update_sms_thread.
Args: account_id: Auto-resolves if omitted. company_id: Filter to one company. per_page: Page size (max 250). page: 1-indexed.
Returns:
JSON string with sms_threads[]. Each thread has id,
customer_name / customer_phone_number, current + initial
tracker/tracking-number, notes, value, tags,
lead_qualification, state.
days / start_date / end_date window the threads (CallRail wants
start and end together, so a lone start_date is paired with today);
search matches phone number, name and tag name.
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_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| page | No | ||
| search | No | ||
| end_date | No | ||
| per_page | No | ||
| account_id | No | ||
| company_id | No | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |