---
title: "shortcut.list: List Keyboard Shortcuts — Motion kit command — Kition"
description: "Lists commands with their keyboard shortcuts; `query` filters by words in label, command or keys, `keys` finds what a key combination does, `assigned: true` only bound commands."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/shortcut.list"
---

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

# shortcut.list

**List Keyboard Shortcuts.** Lists commands with their keyboard shortcuts; `query` filters by words in label, command or keys, `keys` finds what a key combination does, `assigned: true` only bound commands.

- 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 |
| --- | --- | --- | --- |
| `assigned` | `boolean` | no |  |
| `keys` | `string` | no |  |
| `query` | `string` | no |  |

## Call through motion_run

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

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `commands` | `object[]` | no |  |
| `count` | `integer` | no |  |
| `preset` | `string` | no |  |
| `presets` | `string[]` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "commands": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "command": {
            "type": "string"
          },
          "defaults": {
            "items": {},
            "type": "array"
          },
          "key": {
            "type": "string"
          },
          "keys": {
            "items": {},
            "type": "array"
          },
          "label": {
            "type": "string"
          },
          "path": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "scope": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "count": {
      "type": "integer"
    },
    "preset": {
      "type": "string"
    },
    "presets": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "assigned": {
      "type": "boolean"
    },
    "keys": {
      "type": "string"
    },
    "query": {
      "type": "string"
    }
  },
  "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).
