Film kit command

shortcut.get

Get Shortcuts of a Command

Reads the shortcuts assigned to `command` on `platform`.

Kit
Film 0.1.0 (.kfilm)
Changes the document
no

Parameters

Parameters of shortcut.get
NameTypeRequiredDescription
commandintegerno
platformstringno

Call through film_run

text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "shortcut.get" }]
}

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

Result

Result JSON Schema
json
{
  "description": "The command's answer"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "command": {
      "type": "integer"
    },
    "platform": {
      "type": "string"
    }
  },
  "type": "object"
}

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