Motion kit command

app.capabilities

App Capabilities

Returns what this build can do: version, command count, effect counts (total, GPU, float), export formats, whether import, expressions, scripting and GPU are available.

Kit
Motion 0.1.0 (.kmotion)
Changes the document
no

Parameters

None.

Call through motion_run

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

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 of app.capabilities
NameTypeRequiredDescription
commandsintegerno
effectsobjectno
exportstring[]no
expressionsbooleanno
gpubooleanno
importbooleanno
scriptingbooleanno
versionstringno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "commands": {
      "type": "integer"
    },
    "effects": {
      "additionalProperties": true,
      "properties": {
        "float": {
          "type": "integer"
        },
        "gpu": {
          "type": "integer"
        },
        "total": {
          "type": "integer"
        }
      },
      "type": "object"
    },
    "export": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "expressions": {
      "type": "boolean"
    },
    "gpu": {
      "type": "boolean"
    },
    "import": {
      "type": "boolean"
    },
    "scripting": {
      "type": "boolean"
    },
    "version": {
      "type": "string"
    }
  },
  "type": "object"
}

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.