Skip to content

Tool

create_draft

Create a draft

SurfacesChat agentMCPCLI

Create a reply DRAFT (never sends on its own — a human reviews and sends, or use send_email if enabled). Provide the inboxId and, for a reply, the threadId. Returns the new draft's id and version.

CLI: tinbox create-draft

Parameters

NameTypeRequiredDescription
inboxIdstringyesThe inbox the draft belongs to (required).
threadIdstringnoThe thread to reply to (for a reply draft).
tostring[]noRecipient addresses.
subjectstringnoDraft subject.
bodyTextstringnoDraft body (plain text).

Example

json
{
  "inboxId": "ibx_…"
}