Slide kit command

view.slideMaster

Slide Master

Opens slide master view on a master or layout, so edits apply to it.

Kit
Slide 0.1.0 (.kslide and .pptx)
Changes the document
no

Parameters

Parameters of view.slideMaster
NameTypeRequiredDescription
layoutinteger | nullnothe layout index from 0, or null for the master itself
masterintegernoa position counted from 0 (the first is 0)

Call through slide_run

text
slide_run {
  "path": "<file>.pptx",
  "steps": [{ "command": "view.slideMaster" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: layout, master. slide_run answers the step’s result in completed[i].result.

Result

Result of view.slideMaster
NameTypeRequiredDescription
kindstringno
layoutintegerno
masterintegerno
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "kind": {
      "type": "string"
    },
    "layout": {
      "type": "integer"
    },
    "master": {
      "type": "integer"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "layout": {
      "description": "the layout index from 0, or null for the master itself",
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ]
    },
    "master": {
      "description": "a position counted from 0 (the first is 0)",
      "type": "integer"
    }
  },
  "type": "object"
}

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