---
title: "command.list: List Commands — Motion kit command — Kition"
description: "Lists the engine's commands with id, label and menu path; `filter` matches ids and labels, `enabledOnly` drops disabled ones, `schemas: true` adds each parameter JSON Schema. Agents usually use <prefix>_commands instead."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/command.list"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/command.list](https://developer.kition.ai/docs/kits/motion/commands/command.list)

# command.list

**List Commands.** Lists the engine's commands with id, label and menu path; `filter` matches ids and labels, `enabledOnly` drops disabled ones, `schemas: true` adds each parameter JSON Schema. Agents usually use <prefix>_commands instead.

- Kit: Motion 0.1.0 (.kmotion); reference: [Motion kit commands](https://developer.kition.ai/docs/kits/motion.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `enabledOnly` | `boolean` | no |  |
| `filter` | `string` | no |  |
| `schemas` | `boolean` | no | add each command's params JSON Schema |

## Call through motion_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `enabledOnly`, `filter`, `schemas`. motion_run answers the step’s result in `completed[i].result`.

## Result



```json
{
  "items": {
    "additionalProperties": true,
    "properties": {
      "enabled": {
        "type": "boolean"
      },
      "id": {
        "type": "string"
      },
      "label": {
        "type": "string"
      },
      "menu": {
        "items": {
          "type": "string"
        },
        "type": "array"
      },
      "params": {
        "type": "string"
      },
      "shortcut": {
        "type": "string"
      },
      "why": {}
    },
    "type": "object"
  },
  "type": "array"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "enabledOnly": {
      "type": "boolean"
    },
    "filter": {
      "type": "string"
    },
    "schemas": {
      "description": "add each command's params JSON Schema",
      "type": "boolean"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
