---
title: "drawing.describe: Describe Drawing Objects — Slide kit command — Kition"
description: "Answers the drawing objects (shapes, text boxes, connectors, groups, charts) in KitDrawing form: geometry, frame, fill, stroke, text. Defaults to the selection, else every object on the current slide."
canonical: "https://developer.kition.ai/docs/kits/slide/commands/drawing.describe"
---

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

# drawing.describe

**Describe Drawing Objects.** Answers the drawing objects (shapes, text boxes, connectors, groups, charts) in KitDrawing form: geometry, frame, fill, stroke, text. Defaults to the selection, else every object on the current slide.

- 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: `ids` (a list of ids), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `integer \| string` | no | an id; one shape instead of ids |
| `ids` | `(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": "drawing.describe" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `objects` | `object[]` | no |  |
| `selection` | `object` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "objects": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "frame": {},
          "geometry": {},
          "id": {
            "type": "string"
          },
          "kind": {
            "type": "string"
          },
          "placement": {},
          "text": {}
        },
        "type": "object"
      },
      "type": "array"
    },
    "selection": {
      "additionalProperties": true,
      "properties": {
        "frame": {
          "additionalProperties": true,
          "properties": {
            "mixed": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "geometry": {
          "additionalProperties": true,
          "properties": {
            "adjust": {},
            "preset": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "ids": {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "kind": {
          "additionalProperties": true,
          "properties": {
            "mixed": {
              "type": "boolean"
            }
          },
          "type": "object"
        },
        "placement": {
          "additionalProperties": true,
          "properties": {
            "kind": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "text": {
          "additionalProperties": true,
          "properties": {
            "mixed": {
              "type": "boolean"
            }
          },
          "type": "object"
        }
      },
      "type": "object"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "id": {
      "description": "an id; one shape instead of ids",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-types": [
        "Shape"
      ]
    },
    "ids": {
      "items": {
        "description": "an id",
        "oneOf": [
          {
            "type": "integer"
          },
          {
            "type": "string"
          }
        ]
      },
      "type": "array",
      "x-khp-types": [
        "Shape"
      ]
    },
    "onSlide": {
      "description": "the slide the ids are on, from 1",
      "type": "integer"
    }
  },
  "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).
