list_message_targets
Retrieve internal users with their online status and accessible conversations, including channel type and member info, to identify valid message recipients before sending any message.
Instructions
Who can be messaged and where — ASK THIS BEFORE SENDING ANYTHING.
Two lists in one call, because an agent that cannot see the roster invents ids:
users: the internal, active users, each withim_status— 'online', 'away' (idle 30 minutes) or 'offline'. Presence is worth reading first: a Discuss message is delivered either way, but "offline" tells you nobody is going to answer right now.conversations: the ones the sender already belongs to and has not archived, withchannel_type— 'chat' is a 1-to-1, 'group' is a private multi-party, 'channel' is a room that may hold the whole company.membersandunreadare there so a broadcast is a deliberate choice rather than a surprise.
Use send_direct_message for a person and send_channel_message for a
conversation in this list. Neither of them is the tool for annotating an
invoice or an order — that is notify_user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |