---
title: "text.fonts: List Fonts — Motion kit command — Kition"
description: "The installed font families (bundled and system), with their styles, where each comes from and its name in the font's own language. `query` keeps the families whose English or native name contains it (case-insensitive); `rescan` first looks for fonts installed since the app started."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/text.fonts"
---

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

# text.fonts

**List Fonts.** The installed font families (bundled and system), with their styles, where each comes from and its name in the font's own language. `query` keeps the families whose English or native name contains it (case-insensitive); `rescan` first looks for fonts installed since the app started.

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

## Call through motion_run

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

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `added` | `integer` | no |  |
| `count` | `integer` | no |  |
| `families` | `object[]` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "added": {
      "type": "integer"
    },
    "count": {
      "type": "integer"
    },
    "families": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "family": {
            "type": "string"
          },
          "origin": {
            "type": "string"
          },
          "styles": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "query": {
      "type": "string"
    },
    "rescan": {
      "type": "boolean"
    }
  },
  "returns": "{count, families: [{family, styles, origin: bundled|system|user, nativeName?}], added} (rescan picks up fonts installed since launch)",
  "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).
