---
title: "Board kit commands — Kition SDK reference"
description: "The 55 commands an AI agent can run on .kboard files with the Board kit (0.1.0) through board_run: what each does, its parameters and its result."
canonical: "https://developer.kition.ai/docs/kits/board"
---

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

# Board kit commands

The 55 commands an AI agent can run on .kboard files with the Board kit (0.1.0) through board_run: what each does, its parameters and its result.

## How an agent uses them

`board_commands` finds commands by keywords; `board_run` runs them as steps, `{ path, steps: [{ command, params }] }`, then saves the file and answers each step’s result. With the server’s `--unified` tools the same commands go through `kit_run`. Setup: [Agents (MCP)](https://developer.kition.ai/docs/agent.md).

## Commands

### arrange

- [`arrange.group`](https://developer.kition.ai/docs/kits/board/commands/arrange.group.md): Group (changes the document)
- [`arrange.ungroup`](https://developer.kition.ai/docs/kits/board/commands/arrange.ungroup.md): Ungroup (changes the document)

### card

- [`card.add`](https://developer.kition.ai/docs/kits/board/commands/card.add.md): Card (changes the document)
- [`card.setTarget`](https://developer.kition.ai/docs/kits/board/commands/card.setTarget.md): Change card target (changes the document)

### connector

- [`connector.add`](https://developer.kition.ai/docs/kits/board/commands/connector.add.md): Connector (changes the document)
- [`connector.bind`](https://developer.kition.ai/docs/kits/board/commands/connector.bind.md): Attach connector end (changes the document)
- [`connector.getRoute`](https://developer.kition.ai/docs/kits/board/commands/connector.getRoute.md): Connector route
- [`connector.setLabel`](https://developer.kition.ai/docs/kits/board/commands/connector.setLabel.md): Connector label (changes the document)
- [`connector.setWaypoints`](https://developer.kition.ai/docs/kits/board/commands/connector.setWaypoints.md): Connector bends (changes the document)

### diagram

- [`diagram.add`](https://developer.kition.ai/docs/kits/board/commands/diagram.add.md): Diagram (changes the document)
- [`diagram.getPreview`](https://developer.kition.ai/docs/kits/board/commands/diagram.getPreview.md): Diagram from text preview
- [`diagram.import`](https://developer.kition.ai/docs/kits/board/commands/diagram.import.md): Diagram from text (changes the document)

### edit

- [`edit.copy`](https://developer.kition.ai/docs/kits/board/commands/edit.copy.md): Copy
- [`edit.paste`](https://developer.kition.ai/docs/kits/board/commands/edit.paste.md): Paste (changes the document)
- [`edit.redo`](https://developer.kition.ai/docs/kits/board/commands/edit.redo.md): Redo (changes the document)
- [`edit.undo`](https://developer.kition.ai/docs/kits/board/commands/edit.undo.md): Undo (changes the document)

### element

- [`element.add`](https://developer.kition.ai/docs/kits/board/commands/element.add.md): Create elements (changes the document)
- [`element.delete`](https://developer.kition.ai/docs/kits/board/commands/element.delete.md): Delete (changes the document)
- [`element.duplicate`](https://developer.kition.ai/docs/kits/board/commands/element.duplicate.md): Duplicate (changes the document)
- [`element.getStyle`](https://developer.kition.ai/docs/kits/board/commands/element.getStyle.md): Read style
- [`element.lock`](https://developer.kition.ai/docs/kits/board/commands/element.lock.md): Lock (changes the document)
- [`element.move`](https://developer.kition.ai/docs/kits/board/commands/element.move.md): Move (changes the document)
- [`element.reorder`](https://developer.kition.ai/docs/kits/board/commands/element.reorder.md): Order (changes the document)
- [`element.resize`](https://developer.kition.ai/docs/kits/board/commands/element.resize.md): Resize (changes the document)
- [`element.rotate`](https://developer.kition.ai/docs/kits/board/commands/element.rotate.md): Rotate (changes the document)
- [`element.set`](https://developer.kition.ai/docs/kits/board/commands/element.set.md): Update an element (changes the document)
- [`element.setText`](https://developer.kition.ai/docs/kits/board/commands/element.setText.md): Edit text (changes the document)
- [`element.style`](https://developer.kition.ai/docs/kits/board/commands/element.style.md): Style (changes the document)

### file

- [`file.export`](https://developer.kition.ai/docs/kits/board/commands/file.export.md): Export
- [`file.render`](https://developer.kition.ai/docs/kits/board/commands/file.render.md): Preview a view

### frame

- [`frame.add`](https://developer.kition.ai/docs/kits/board/commands/frame.add.md): Frame (changes the document)
- [`frame.fit`](https://developer.kition.ai/docs/kits/board/commands/frame.fit.md): Fit frame to content (changes the document)

### image

- [`image.insert`](https://developer.kition.ai/docs/kits/board/commands/image.insert.md): Picture (changes the document)
- [`image.setAlt`](https://developer.kition.ai/docs/kits/board/commands/image.setAlt.md): Alternative text (changes the document)

### layout

- [`layout.align`](https://developer.kition.ai/docs/kits/board/commands/layout.align.md): Align (changes the document)
- [`layout.apply`](https://developer.kition.ai/docs/kits/board/commands/layout.apply.md): Tidy up (changes the document)
- [`layout.distribute`](https://developer.kition.ai/docs/kits/board/commands/layout.distribute.md): Distribute (changes the document)
- [`layout.mindmap`](https://developer.kition.ai/docs/kits/board/commands/layout.mindmap.md): Lay out mind map (changes the document)
- [`layout.stack`](https://developer.kition.ai/docs/kits/board/commands/layout.stack.md): Stack (changes the document)

### link

- [`link.retarget`](https://developer.kition.ai/docs/kits/board/commands/link.retarget.md): Retarget links (changes the document)

### mindmap

- [`mindmap.addChild`](https://developer.kition.ai/docs/kits/board/commands/mindmap.addChild.md): Add branch (changes the document)
- [`mindmap.addSibling`](https://developer.kition.ai/docs/kits/board/commands/mindmap.addSibling.md): Add sibling (changes the document)
- [`mindmap.collapse`](https://developer.kition.ai/docs/kits/board/commands/mindmap.collapse.md): Collapse branch (changes the document)
- [`mindmap.move`](https://developer.kition.ai/docs/kits/board/commands/mindmap.move.md): Move mind-map node (changes the document)
- [`mindmap.setDirection`](https://developer.kition.ai/docs/kits/board/commands/mindmap.setDirection.md): Mind map direction (changes the document)

### page

- [`page.activate`](https://developer.kition.ai/docs/kits/board/commands/page.activate.md): Show page
- [`page.add`](https://developer.kition.ai/docs/kits/board/commands/page.add.md): New page (changes the document)
- [`page.delete`](https://developer.kition.ai/docs/kits/board/commands/page.delete.md): Delete page (changes the document)
- [`page.duplicate`](https://developer.kition.ai/docs/kits/board/commands/page.duplicate.md): Duplicate page (changes the document)
- [`page.move`](https://developer.kition.ai/docs/kits/board/commands/page.move.md): Move page (changes the document)
- [`page.rename`](https://developer.kition.ai/docs/kits/board/commands/page.rename.md): Rename page (changes the document)

### shape

- [`shape.previews`](https://developer.kition.ai/docs/kits/board/commands/shape.previews.md): Shape library

### stroke

- [`stroke.add`](https://developer.kition.ai/docs/kits/board/commands/stroke.add.md): Draw a stroke (changes the document)

### template

- [`template.insert`](https://developer.kition.ai/docs/kits/board/commands/template.insert.md): Template (changes the document)

### text

- [`text.mark`](https://developer.kition.ai/docs/kits/board/commands/text.mark.md): Format text (changes the document)

Generated from the command list of @kition/board-darwin-arm64@0.1.0, its kit.json and the kit itself (board_commands through @kition/cli@0.1.1, built from KitionAI/kition-board@e78c190). All of them as JSON Lines: [commands.jsonl](https://developer.kition.ai/commands.jsonl).
