---
title: "edit.deleteClipboardItem: Delete Clipboard Item — Doc kit command — Kition"
description: "Removes one item (0 = newest) from the Office clipboard."
canonical: "https://developer.kition.ai/docs/kits/doc/commands/edit.deleteClipboardItem"
---

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

# edit.deleteClipboardItem

**Delete Clipboard Item.** Removes one item (0 = newest) from the Office clipboard.

- 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 |
| --- | --- | --- | --- |
| `index` | `integer` | no | 0 = newest |

## Call through doc_run

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

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

## Result



```json
{
  "type": "array"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "index": {
      "description": "0 = newest",
      "type": "integer"
    }
  },
  "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).
