---
title: "file.revealInFinder: Reveal in Finder — Motion kit command — Kition"
description: "Opens the folder holding footage `item`'s file in the system file browser. Returns {url}; fails for items that are not files."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/file.revealInFinder"
---

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

# file.revealInFinder

**Reveal in Finder.** Opens the folder holding footage `item`'s file in the system file browser. Returns {url}; fails for items that are not files.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `item` | `integer` | no |  |
| `items` | `(integer \| string)[]` | no | read by the command beside its listed parameters |

## Call through motion_run

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

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

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "item": {
      "type": "integer",
      "x-khp-name": "name",
      "x-khp-types": [
        "Item"
      ]
    },
    "items": {
      "description": "read by the command beside its listed parameters",
      "items": {
        "oneOf": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          }
        ],
        "x-khp-name": "name",
        "x-khp-role": "object",
        "x-khp-types": [
          "Item"
        ]
      },
      "type": "array",
      "x-khp-types": [
        "Item"
      ]
    }
  },
  "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).
