Motion kit command
command.describe
Describe Command
Returns one command in full: id, label, menu path, shortcut, parameter notes, the JSON Schema of its parameters, whether it is undoable, and whether it is enabled now (with the reason when not).
- Kit
- Motion 0.1.0 (.kmotion)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
command | string | no | |
id | string | no | read by the command beside its listed parameters |
Call through motion_run
text
motion_run {
"path": "<file>.kmotion",
"steps": [{ "command": "command.describe" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: command, id. motion_run answers the step’s result in completed[i].result.
Result
Result JSON Schema
json
{
"description": "id, label, menu, shortcut, params doc, JSON `schema`, enabled"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"command": {
"type": "string"
},
"id": {
"description": "read by the command beside its listed parameters",
"type": "string"
}
},
"returns": "id, label, menu, shortcut, params doc, JSON `schema`, enabled",
"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.