---
title: "edit.copy: Copy — Board kit command — Kition"
description: "Reads the elements into a board clipboard payload without changing the board; pass the payload to edit.paste to place copies on any page."
canonical: "https://developer.kition.ai/docs/kits/board/commands/edit.copy"
---

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

# edit.copy

**Copy.** Reads the elements into a board clipboard payload without changing the board; pass the payload to edit.paste to place copies on any page.

- Kit: Board 0.1.0 (.kboard); reference: [Board kit commands](https://developer.kition.ai/docs/kits/board.md)
- Changes the document: no
- Acts on: `ids` (a list of ids), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `ids` | `string[]` | yes | The elements to copy; the answer is a board clipboard payload for edit.paste |

## Call through board_run

```text
board_run {
  "path": "<file>.kboard",
  "steps": [{ "command": "edit.copy", "params": { "ids": <string[]> } }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `elements` | `any[]` | yes | The copied elements, for edit.paste |
| `type` | `string` | yes | application/x-kition-board+json |
| `version` | `integer` | yes |  |

```json
{
  "additionalProperties": false,
  "properties": {
    "elements": {
      "description": "The copied elements, for edit.paste",
      "items": {},
      "type": "array"
    },
    "type": {
      "description": "application/x-kition-board+json",
      "type": "string"
    },
    "version": {
      "type": "integer"
    }
  },
  "required": [
    "elements",
    "type",
    "version"
  ],
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "ids": {
      "description": "The elements to copy; the answer is a board clipboard payload for edit.paste",
      "items": {
        "type": "string"
      },
      "type": "array",
      "x-khp-types": [
        "Element"
      ]
    }
  },
  "required": [
    "ids"
  ],
  "type": "object"
}
```

Generated from the command list of @kition/board-darwin-arm64@0.1.0 and the kit itself (board_commands through @kition/cli@0.1.1, built from KitionAI/kition-board@e78c190).
