---
title: "clipboard.importText: Load Text into Clipboard — Vector kit command — Kition"
description: "Replaces the kit's clipboard with point text of the given text in the default type style; run edit.paste afterwards."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/clipboard.importText"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/clipboard.importText](https://developer.kition.ai/docs/kits/vector/commands/clipboard.importText)

# clipboard.importText

**Load Text into Clipboard.** Replaces the kit's clipboard with point text of the given text in the default type style; run edit.paste afterwards.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `artboard` | `integer` | no | read by the command beside its listed parameters |
| `center` | `number[]` | no |  |
| `dx` | `number` | no | read by the command beside its listed parameters |
| `dy` | `number` | no | read by the command beside its listed parameters |
| `text` | `string` | no |  |

## Call through vector_run

```text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "clipboard.importText" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `artboard`, `center`, `dx`, `dy`, `text`. vector_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `count` | `number` | no |  |

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

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "artboard": {
      "description": "read by the command beside its listed parameters",
      "type": "integer"
    },
    "center": {
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "dx": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "dy": {
      "description": "read by the command beside its listed parameters",
      "type": "number"
    },
    "text": {
      "type": "string"
    }
  },
  "returns": "{count}; then run edit.paste",
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
