listTextMessages
Get text messages with at least one filter (person ID, thread, phone, etc.) to prevent 400 errors.
Instructions
List text messages. FUB REQUIRES at least one filter: personId, threadId, phone, toNumber, fromNumber, sharedInboxId, groupTextId, participants, or id list. Unfiltered calls return 400.
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": "listTextMessages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Comma-separated message IDs | |
| next | No | Cursor for next page of results | |
| limit | No | Maximum number of results to return | |
| phone | No | Filter by phone | |
| offset | No | Offset for pagination | |
| personId | No | Filter by person ID | |
| threadId | No | Filter by thread ID | |
| toNumber | No | Filter by destination number | |
| fromNumber | No | Filter by source number | |
| groupTextId | No | Filter by group text | |
| participants | No | Comma-separated participants | |
| sharedInboxId | No | Filter by shared inbox |