update_sms_thread
Update an SMS thread's lead-management fields, including notes, tags, monetary value, and lead qualification, to tag, note, or qualify texting leads via API.
Instructions
Update an SMS thread's lead-management fields. This is the texting
equivalent of update_call. Closes the gap where texting leads
couldn't be tagged / noted / qualified via API.
Args:
thread_id: Thread id (from list_sms_threads).
notes: Note text (max 4000 chars). Empty string rejected.
value: Monetary value; sent as a currency string ("12.50"), which
is what PUT /sms-threads accepts.
tags: Tag names to apply (max 100).
append_tags: If True (default), tags are ADDED to existing
ones (CallRail's append_tags flag). If False, tags
REPLACES the thread's tag list.
lead_qualification: 'good_lead' or 'not_a_lead' (CallRail docs;
null clears it, which this tool does not expose).
account_id: Auto-resolves if omitted.
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": {
"thread_id": "<thread_id>"
},
"name": "update_sms_thread"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| notes | No | ||
| value | No | ||
| thread_id | Yes | ||
| account_id | No | ||
| append_tags | No | ||
| lead_qualification | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |