Operating system set to macOS
Documentation jurisdiction set to United States
Sign inConnect Claude

Invoke Skill Communications Draft

post/api/v1/skills/communications.draft/invoke

Draft a client communication β€” email, letter, memo, or report.

Drafts a client communication for an accountant to review and send. Supply the type, which is an email, letter, memo or report, and the recipients, and optionally a subject, the context and a tone. It returns the draft content, a subject line and suggested attachments, and sends nothing.

Request bodyapplication/json

FieldTypeDescription
typerequired"email" | "letter" | "memo" | "report"Kind of communication to draft: email, letter, memo or report.
emaillettermemoreport
recipientsrequiredstring[]Names of the people the communication is addressed to, one per entry.
subjectstringOptional subject line as plain text; leave empty and Archie proposes one.
contextstringWhat the communication should say, and any background the writer needs.
tone"formal" | "friendly" | "urgent"Register of the draft: formal, friendly or urgent.
formalfriendlyurgent

Responses

200Skill executed successfully
FieldTypeDescription
skillrequiredstringβ€”
outputrequiredobjectβ€”
show nested
FieldTypeDescription
stub_fieldsstring[]β€”
warningsstring[]β€”
draft_idstring (uuid)β€”
contentstringβ€”
subject_linestringβ€”
suggested_attachmentsstring[]β€”
correlation_idrequiredstringβ€”
401Authentication required
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
403Insufficient permissions
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
404Skill not found
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
429Rate limit exceeded
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
5XXInternal server error
FieldTypeDescription
errorrequiredobjectβ€”
show nested
FieldTypeDescription
typerequiredstringβ€”
coderequiredstringβ€”
messagerequiredstringβ€”
paramstringβ€”
retry_after_secondsintegerβ€”
curl https://api.dev.arch.ie/api/v1/skills/communications.draft/invoke \
  -X POST \
  -H "Authorization: Bearer sk_..." \
  -H "Content-Type: application/json" \
  -d '{
       "type": "email",
       "recipients": [
         "string"
       ],
       "subject": "string",
       "context": "string",
       "tone": "formal"
     }'