mark-done
Mark threads and conversations as read, unread, archived, or unarchived. Use bulk selectors to clear unread markers for a workspace or channel.
Instructions
Mark threads or conversations as read/unread and archived/unarchived. Individual IDs take priority over bulk selectors whenever both are provided. For threads: markRead=false marks unread, archive=false unarchives; bulk operations (workspaceId/channelId, only used when no ids are given) can also clear all unread. For conversations: can mark as read and archive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Specific thread or conversation IDs to mark as done. Use this OR bulk selectors. | |
| type | Yes | The type of items to mark as done: thread or conversation. | |
| archive | No | Archive items in the inbox (true, default) or unarchive them (false, threads only). | |
| markRead | No | Mark items as read (true, default) or unread (false). For threads, false marks the whole thread unread. | |
| channelId | No | Mark all threads in this channel as done (threads only). | |
| clearUnread | No | Clear all unread markers for workspace (threads only, requires workspaceId, default: false). | |
| workspaceId | No | Mark all threads in this workspace as done (threads only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| type | Yes | ||
| failed | Yes | ||
| itemType | Yes | ||
| completed | Yes | ||
| selectors | No | ||
| operations | Yes | ||
| failureCount | Yes | ||
| successCount | Yes | ||
| totalRequested | Yes |