Motion kit command

expr.languageMenu

Expression Language menu

Returns the expression language menu: categories with each entry's label and the snippet it inserts. Use it to look up expression functions; changes nothing.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
no

Parameters

None.

Call through motion_run

text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "expr.languageMenu" }]
}

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

Result

Result JSON Schema
json
{
  "items": {
    "additionalProperties": true,
    "properties": {
      "category": {
        "type": "string"
      },
      "items": {
        "items": {
          "additionalProperties": true,
          "properties": {
            "label": {
              "type": "string"
            },
            "text": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": "array"
      }
    },
    "type": "object"
  },
  "type": "array"
}

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