Board kit command
page.rename
Rename page
Gives a page a new name; its id and elements stay the same.
- Kit
- Board 0.1.0 (.kboard)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | The new name |
page | string | yes | The page |
Call through board_run
text
board_run {
"path": "<file>.kboard",
"steps": [{ "command": "page.rename", "params": { "name": <string>, "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": {
"name": {
"description": "The new name",
"type": "string"
},
"page": {
"description": "The page",
"type": "string",
"x-khp-types": [
"Page"
]
}
},
"required": [
"name",
"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.