---
title: "slide.inspect: Inspect Slide — Slide kit command — Kition"
description: "Answers one slide (`index` from 0, else the current one): its shapes with ids, kinds, boxes, text and fills (a group's children with their boxes on the slide), plus animations, transition, notes and comments. An agent's read leaves the current slide and the selection as they were: name the slide in later calls (`onSlide`, or the run's `target` or a step's `at.part`)."
canonical: "https://developer.kition.ai/docs/kits/slide/commands/slide.inspect"
---

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

# slide.inspect

**Inspect Slide.** Answers one slide (`index` from 0, else the current one): its shapes with ids, kinds, boxes, text and fills (a group's children with their boxes on the slide), plus animations, transition, notes and comments. An agent's read leaves the current slide and the selection as they were: name the slide in later calls (`onSlide`, or the run's `target` or a step's `at.part`).

- Kit: Slide 0.1.0 (.kslide and .pptx); reference: [Slide kit commands](https://developer.kition.ai/docs/kits/slide.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `index` | `integer` | no | a position counted from 0 (the first is 0) |
| `select` | `boolean` | no | false: a person's read leaves the current slide; an agent's read always does |

## Call through slide_run

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

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `animations` | `any[]` | no |  |
| `background` | `string` | no |  |
| `comments` | `integer` | no |  |
| `hidden` | `boolean` | no |  |
| `id` | `integer` | no |  |
| `index` | `integer` | no |  |
| `layout` | `string` | no |  |
| `notes` | `string` | no |  |
| `shapes` | `object[]` | no |  |
| `title` | `string` | no |  |
| `transition` | `any` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "animations": {
      "type": "array"
    },
    "background": {
      "type": "string"
    },
    "comments": {
      "type": "integer"
    },
    "hidden": {
      "type": "boolean"
    },
    "id": {
      "type": "integer"
    },
    "index": {
      "type": "integer"
    },
    "layout": {
      "type": "string"
    },
    "notes": {
      "type": "string"
    },
    "shapes": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "box": {},
          "fill": {
            "type": "string"
          },
          "id": {
            "type": "integer"
          },
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "preset": {
            "type": "string"
          },
          "rotation": {
            "type": "number"
          },
          "text": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "title": {
      "type": "string"
    },
    "transition": {}
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "index": {
      "description": "a position counted from 0 (the first is 0)",
      "type": "integer"
    },
    "select": {
      "description": "false: a person's read leaves the current slide; an agent's read always does",
      "type": "boolean"
    }
  },
  "returns": "the slide's shapes with ids, kinds, boxes, text, fills, animations, transition, notes",
  "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).
