---
title: "file.node: Inspect Object — Vector kit command — Kition"
description: "Answers one object by id: its kind, geometry, paint and children; summary gives a compact form, depth and childLimit bound the children shown."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/file.node"
---

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

# file.node

**Inspect Object.** Answers one object by id: its kind, geometry, paint and children; summary gives a compact form, depth and childLimit bound the children shown.

- Kit: Vector 0.1.0 (.kvector); reference: [Vector kit commands](https://developer.kition.ai/docs/kits/vector.md)
- Changes the document: no
- Acts on: `id` (one id), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `childLimit` | `integer` | no |  |
| `depth` | `integer` | no |  |
| `id` | `integer` | no | object ID |
| `summary` | `boolean` | no |  |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "file.node" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `children` | `any[]` | no |  |
| `id` | `number` | no |  |
| `kind` | `string` | no |  |
| `name` | `string` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "children": {
      "type": "array"
    },
    "id": {
      "type": "number"
    },
    "kind": {
      "type": "string"
    },
    "name": {
      "type": "string"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "childLimit": {
      "type": "integer"
    },
    "depth": {
      "type": "integer"
    },
    "id": {
      "description": "object ID",
      "type": "integer",
      "x-khp-types": [
        "Node"
      ]
    },
    "summary": {
      "type": "boolean"
    }
  },
  "returns": "one object",
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
