Motion kit command

prefs.pages

Settings Pages

Lists the settings pages and the setting keys on each, for prefs.get and prefs.set.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
no

Parameters

None.

Call through motion_run

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

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": {
      "id": {
        "type": "string"
      },
      "items": {
        "items": {
          "additionalProperties": true,
          "properties": {
            "key": {
              "type": "string"
            },
            "label": {
              "type": "string"
            },
            "live": {
              "type": "boolean"
            },
            "options": {
              "items": {},
              "type": "array"
            },
            "type": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": "array"
      },
      "title": {
        "type": "string"
      }
    },
    "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.