Board kit command

page.delete

Delete page

Deletes a page and its elements; the board's last page cannot be deleted.

Kit
Board 0.1.0 (.kboard)
Changes the document
yes

Parameters

Parameters of page.delete
NameTypeRequiredDescription
pagestringyesThe page; the last page stays

Call through board_run

text
board_run {
  "path": "<file>.kboard",
  "steps": [{ "command": "page.delete", "params": { "page": <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

The kit gives no result schema for this command.

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "page": {
      "description": "The page; the last page stays",
      "type": "string",
      "x-khp-types": [
        "Page"
      ]
    }
  },
  "required": [
    "page"
  ],
  "type": "object"
}

Generated from the command list of @kition/[email protected] and the kit itself (board_commands through @kition/[email protected], built from KitionAI/kition-board@e78c190). As data: commands.jsonl.