Doc kit command

mailMerge.start

Start Mail Merge

Starts a mail merge of a kind (letters, emails, envelopes, labels, directory) or turns it off with normal.

Kit
Doc 0.1.0 (.docx)
Changes the document
no

Parameters

Parameters of mailMerge.start
NameTypeRequiredDescription
kind"letters" | "emails" | "envelopes" | "labels" | "directory" | "normal"no

Call through doc_run

text
doc_run {
  "path": "<file>.docx",
  "steps": [{ "command": "mailMerge.start" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: kind. doc_run answers the step’s result in completed[i].result.

Result

Result of mailMerge.start
NameTypeRequiredDescription
kindstringno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "kind": {
      "type": "string"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "kind": {
      "enum": [
        "letters",
        "emails",
        "envelopes",
        "labels",
        "directory",
        "normal"
      ],
      "type": "string"
    }
  },
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (doc_commands through @kition/[email protected], built from KitionAI/kition-doc@41e14a8). As data: commands.jsonl.