Design kit command

tool.text

Text

Chooses the Text tool in the editor; use text.add to add text directly.

Kit
Design 0.1.0 (.kdesign)
Changes the document
no

Parameters

Parameters of tool.text
NameTypeRequiredDescription
textstringnoread by the command beside its listed parameters

Call through design_run

text
design_run {
  "path": "<file>.kdesign",
  "steps": [{ "command": "tool.text" }]
}

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

Result

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

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "text": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    }
  },
  "type": "object"
}

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