---
title: "ink.shape: Draw Shape — Doc kit command — Kition"
description: "Selects a shape preset to draw next in the editor, or none."
canonical: "https://developer.kition.ai/docs/kits/doc/commands/ink.shape"
---

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

# ink.shape

**Draw Shape.** Selects a shape preset to draw next in the editor, or none.

- Kit: Doc 0.1.0 (.docx); reference: [Doc kit commands](https://developer.kition.ai/docs/kits/doc.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `preset` | `string \| null` | no |  |

## Call through doc_run

```text
doc_run {
  "path": "<file>.docx",
  "steps": [{ "command": "ink.shape" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `shape` | `any` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "shape": {}
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "preset": {
      "oneOf": [
        {
          "description": "a DrawingML preset",
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/doc-darwin-arm64@0.1.0 and the kit itself (doc_commands through @kition/cli@0.1.1, built from KitionAI/kition-doc@41e14a8).
