Doc kit command

file.text

Document Text

Answers the document's whole body text as plain text, one paragraph per line; read this before editing, since inspect alone shows little content.

Kit
Doc 0.1.0 (.docx)
Changes the document
no

Parameters

Parameters of file.text
NameTypeRequiredDescription
storystring | objectnoread by the command beside its listed parameters

Call through doc_run

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

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

Result

Result of file.text
NameTypeRequiredDescription
textstringno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "text": {
      "type": "string"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "story": {
      "description": "read by the command beside its listed parameters",
      "oneOf": [
        {
          "type": "string"
        },
        {
          "additionalProperties": true,
          "type": "object"
        }
      ]
    }
  },
  "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.