Film kit command

metadata.get

Get Metadata

Reads the metadata fields of project `item` or timeline `clip`'s source (Name, Label, Description, Scene, Shot, Log Note…).

Kit
Film 0.1.0 (.kfilm)
Changes the document
no

Parameters

Parameters of metadata.get
NameTypeRequiredDescription
clipintegerno
itemintegerno

Call through film_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: clip, item. 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": {
    "clip": {
      "type": "integer",
      "x-khp-types": [
        "Clip"
      ]
    },
    "item": {
      "type": "integer",
      "x-khp-types": [
        "Item"
      ]
    }
  },
  "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.