---
title: "edit.paste: Paste — Board kit command — Kition"
description: "Places copies of a edit.copy payload on a page, at `at` or offset from the originals; answers the new elements' ids, and in `skipped` the pictures left out because this board does not store their bytes (copied on another board)."
canonical: "https://developer.kition.ai/docs/kits/board/commands/edit.paste"
---

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

# edit.paste

**Paste.** Places copies of a edit.copy payload on a page, at `at` or offset from the originals; answers the new elements' ids, and in `skipped` the pictures left out because this board does not store their bytes (copied on another board).

- Kit: Board 0.1.0 (.kboard); reference: [Board kit commands](https://developer.kition.ai/docs/kits/board.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `at` | `number[] \| object` | no | [x, y] for the copies' top-left corner |
| `page` | `string` | no | The page's id; the shown page when absent |
| `payload` | `object` | yes | A edit.copy payload (application/x-kition-board+json) |

## Call through board_run

```text
board_run {
  "path": "<file>.kboard",
  "steps": [{ "command": "edit.paste", "params": { "payload": <object> } }]
}
```

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

## Result

The kit gives no result schema for this command.

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "at": {
      "description": "[x, y] for the copies' top-left corner",
      "oneOf": [
        {
          "items": {
            "description": "One component",
            "maximum": 1000000,
            "minimum": -1000000,
            "type": "number"
          },
          "type": "array"
        },
        {
          "additionalProperties": false,
          "properties": {
            "x": {
              "description": "One component",
              "maximum": 1000000,
              "minimum": -1000000,
              "type": "number"
            },
            "y": {
              "description": "One component",
              "maximum": 1000000,
              "minimum": -1000000,
              "type": "number"
            }
          },
          "required": [
            "x",
            "y"
          ],
          "type": "object"
        }
      ]
    },
    "page": {
      "description": "The page's id; the shown page when absent",
      "type": "string",
      "x-khp-types": [
        "Page"
      ]
    },
    "payload": {
      "additionalProperties": true,
      "description": "A edit.copy payload (application/x-kition-board+json)",
      "properties": {
        "elements": {
          "description": "The copied elements",
          "items": {
            "additionalProperties": true,
            "properties": {
              "end": {
                "additionalProperties": true,
                "properties": {
                  "binding": {
                    "additionalProperties": true,
                    "properties": {
                      "target": {
                        "description": "The element the end is bound to",
                        "type": "string",
                        "x-khp-role": "object",
                        "x-khp-types": [
                          "Element"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              },
              "ref": {
                "description": "The copied element's id",
                "type": "string"
              },
              "start": {
                "additionalProperties": true,
                "properties": {
                  "binding": {
                    "additionalProperties": true,
                    "properties": {
                      "target": {
                        "description": "The element the end is bound to",
                        "type": "string",
                        "x-khp-role": "object",
                        "x-khp-types": [
                          "Element"
                        ]
                      }
                    },
                    "type": "object"
                  }
                },
                "type": "object"
              }
            },
            "type": "object"
          },
          "type": "array"
        }
      },
      "type": "object"
    }
  },
  "required": [
    "payload"
  ],
  "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).
