---
title: "page.move: Move page — Board kit command — Kition"
description: "Moves a page to a new position among the pages, or one step earlier or later."
canonical: "https://developer.kition.ai/docs/kits/board/commands/page.move"
---

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

# page.move

**Move page.** Moves a page to a new position among the pages, or one step earlier or later.

- 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 |
| --- | --- | --- | --- |
| `page` | `string` | yes | The page |
| `placement` | `"previous" \| "next"` | no | One step (instead of to) |
| `to` | `integer (≥ 0)` | no | The new position, less than the current page count |

## Call through board_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `placement`, `to`. 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": {
    "page": {
      "description": "The page",
      "type": "string",
      "x-khp-types": [
        "Page"
      ]
    },
    "placement": {
      "description": "One step (instead of to)",
      "enum": [
        "previous",
        "next"
      ],
      "type": "string"
    },
    "to": {
      "description": "The new position, less than the current page count",
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "page"
  ],
  "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).
