---
title: "shape.inspect: Inspect Shape — Slide kit command — Kition"
description: "Answers the full properties of shape `id` (on slide `onSlide`, from 1) with its effective formatting."
canonical: "https://developer.kition.ai/docs/kits/slide/commands/shape.inspect"
---

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

# shape.inspect

**Inspect Shape.** Answers the full properties of shape `id` (on slide `onSlide`, from 1) with its effective formatting.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `integer \| string` | no |  |
| `onSlide` | `integer` | no | the slide the ids are on, from 1 |

## Call through slide_run

```text
slide_run {
  "path": "<file>.pptx",
  "steps": [{ "command": "shape.inspect" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `box` | `object` | no |  |
| `shape` | `object` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "box": {
      "additionalProperties": true,
      "properties": {
        "h": {
          "type": "number"
        },
        "w": {
          "type": "number"
        },
        "x": {
          "type": "number"
        },
        "y": {
          "type": "number"
        }
      },
      "type": "object"
    },
    "shape": {
      "additionalProperties": true,
      "properties": {
        "click": {},
        "decorative": {
          "type": "boolean"
        },
        "descr": {
          "type": "string"
        },
        "effects": {},
        "fill": {},
        "geom": {
          "additionalProperties": true,
          "properties": {
            "kind": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "hidden": {
          "type": "boolean"
        },
        "hover": {},
        "id": {
          "type": "integer"
        },
        "kind": {
          "additionalProperties": true,
          "properties": {
            "type": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "line": {},
        "locked": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "ph": {},
        "style": {},
        "text": {
          "additionalProperties": true,
          "properties": {
            "body": {},
            "paragraphs": {}
          },
          "type": "object"
        },
        "textBox": {
          "type": "boolean"
        },
        "title": {
          "type": "string"
        },
        "xfrm": {
          "additionalProperties": true,
          "properties": {
            "h": {
              "type": "number"
            },
            "w": {
              "type": "number"
            },
            "x": {
              "type": "number"
            },
            "y": {
              "type": "number"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "id": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-types": [
        "Shape"
      ]
    },
    "onSlide": {
      "description": "the slide the ids are on, from 1",
      "type": "integer"
    }
  },
  "returns": "full shape JSON plus its effective box",
  "type": "object"
}
```

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