Skip to content
Tinbox

Tool

create_draft

Create a draft

SurfacesChat agentMCPCLI

Create a new-message or reply draft, never send or schedule it. Provide inboxId and optional threadId. Optional followUp saves one fixed conditional follow-up plan for later review: {afterDays,body}; null means no plan. An unfinished body may be saved while drafting. Read the saved plan and complete body with get_draft before any separately authorized send. Returns id/version; draft creation is not safely repeatable after a lost response.

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).
followUpone ofnoSave a fixed conditional plan {afterDays:1..365,body:plain text up to16000 chars}; null means no plan. Saving never schedules or sends. Blank body is allowed only while drafting.
▸expand followUp
  • option 1object
    • afterDays integerrequired
    • body stringrequired
  • option 2null

Example

json
{
  "inboxId": "ibx_…"
}