Motion kit command
file.scripts.list
List Scripts
Lists the scripts and script panels available: name, whether it is a panel, and source (installed, sample or extension). Run one with file.runScript.
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- no
Parameters
None.
Call through motion_run
text
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "file.scripts.list" }]
}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": {
"name": {
"type": "string"
},
"panel": {
"type": "boolean"
},
"source": {
"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.