Hide the draft editor card
draft_editor_hideTurn OFF the in-chat draft editor card, either for one inbox or for the whole workspace. This is a display preference only: drafts, sending and every other tool are completely unaffected, and the same draft results keep coming back as plain text. Pass hidden:false to turn it back on, which works at either scope even while the card is hidden. Hiding or showing it for the WHOLE workspace changes it for every member, so that scope needs a workspace owner or admin; one inbox needs no extra role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox | No | The inbox's email address, as an alternative to inbox_id. | |
| scope | Yes | 'inbox' hides the card for this mailbox only; 'workspace' hides it for every mailbox. Required: the card asks rather than guessing. | |
| hidden | No | Defaults to true. Pass false to show the card again. | |
| inbox_id | No | The inbox holding the draft. Omit when the workspace has one inbox. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| card | No | Which card this envelope renders: 'draft_editor' or 'receipt'. | |
| state | No | Where the draft stands: editing, sent, or error. | |
| dashboard_url | No | Absolute link to the signed-in dashboard. Always present, and the one link that still works when the rest of the envelope cannot be parsed. | |
| schema_version | No | Card envelope version. A client that does not know this version should fall back to dashboard_url. |