List chats (inbox)
list_messaging_chatsChats of one connected account, newest first (id, name, unread_count, last_message_at, tags, owner). Paged: pass next_cursor back as cursor. Filters: unread: true for unread chats; unanswered: true for chats whose last message is from the customer (at most 30 a page); tag for chats with that tag; owner as none, me, a workspace user id or an email. A filtered page can hold fewer chats than limit, so keep paging while next_cursor is set. Read-only. Each chat also has handed_over and handed_to (a workspace user id or null): never write in a handed-over chat. handed_over: true or false narrows the page to chats that are or are not handed to a person. Each chat also has starred, archived, marked_unread, pinned, muted and is_request. starred: true lists starred chats; archived: false hides archived ones (archived: true lists only them); requests: true lists Instagram message requests (people the account does not follow). Chats are answered from Spaces' own copy where it holds them (source: cache), so reading does not put pressure on the platform; the answer has account_budget, and next_check_after_seconds says how long to wait before checking again. Do not poll faster. account_budget.stage is the warm-up stage and left_today what is left today of each action (messages, new_chats, profile_lookups, searches, reads). To learn about new messages, call wait_for_events instead of calling this again: it waits for the next event and never touches the platform. Before you reply to a customer, read the business brief with get_business_brief and follow it: its facts, tone, never-promise rules and when to hand over to a person.
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": {
"account_id": "<account_id>"
},
"name": "list_messaging_chats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| limit | No | ||
| owner | No | ||
| cursor | No | ||
| unread | No | ||
| starred | No | ||
| archived | No | ||
| requests | No | ||
| account_id | Yes | ||
| unanswered | No | ||
| handed_over | No |