---
title: "inspect.assets: Inspect assets — Design kit command — Kition"
description: "Answers the layers in and under the selection to hand over as files: those with export settings, icons and images."
canonical: "https://developer.kition.ai/docs/kits/design/commands/inspect.assets"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/design/commands/inspect.assets](https://developer.kition.ai/docs/kits/design/commands/inspect.assets)

# inspect.assets

**Inspect assets.** Answers the layers in and under the selection to hand over as files: those with export settings, icons and images.

- Kit: Design 0.1.0 (.kdesign); reference: [Design kit commands](https://developer.kition.ai/docs/kits/design.md)
- Changes the document: no
- Acts on: `ids` (a list of ids), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `ids` | `(integer \| string)[]` | no | default the selection |

## Call through design_run

```text
design_run {
  "path": "<file>.kdesign",
  "steps": [{ "command": "inspect.assets" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `assets` | `any[]` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "assets": {
      "type": "array"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "ids": {
      "description": "default the selection",
      "items": {
        "description": "an id",
        "oneOf": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          }
        ]
      },
      "type": "array",
      "x-khp-types": [
        "Node"
      ]
    }
  },
  "returns": "{assets: [{id, name, kind: export|icon|image, exports}]}  the layers in and under them to hand over as files: those with export settings, icons (small, vector shapes only; SVG) and images (PNG). Export them with `file.exportLayers {assets: true}`",
  "type": "object"
}
```

Generated from the command list of @kition/design-darwin-arm64@0.1.0 and the kit itself (design_commands through @kition/cli@0.1.1, built from KitionAI/kition-design@abc7e16).
