---
title: "view.slideMaster: Slide Master — Slide kit command — Kition"
description: "Opens slide master view on a master or layout, so edits apply to it."
canonical: "https://developer.kition.ai/docs/kits/slide/commands/view.slideMaster"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/slide/commands/view.slideMaster](https://developer.kition.ai/docs/kits/slide/commands/view.slideMaster)

# 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); reference: [Slide kit commands](https://developer.kition.ai/docs/kits/slide.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `layout` | `integer \| null` | no | the layout index from 0, or null for the master itself |
| `master` | `integer` | no | a 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

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `kind` | `string` | no |  |
| `layout` | `integer` | no |  |
| `master` | `integer` | no |  |

```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/slide-darwin-arm64@0.1.0 and the kit itself (slide_commands through @kition/cli@0.1.1, built from KitionAI/kition-slide@7ef3d11).
