---
title: "window.editWorkspaces: Edit Workspaces — Motion kit command — Kition"
description: "Frontend-only: opens the workspace editor. Headless sessions accept it and do nothing."
canonical: "https://developer.kition.ai/docs/kits/motion/commands/window.editWorkspaces"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/motion/commands/window.editWorkspaces](https://developer.kition.ai/docs/kits/motion/commands/window.editWorkspaces)

# window.editWorkspaces

**Edit Workspaces.** Frontend-only: opens the workspace editor. Headless sessions accept it and do nothing.

- Kit: Motion 0.1.0 (.kmotion); reference: [Motion kit commands](https://developer.kition.ai/docs/kits/motion.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `delete` | `boolean` | no |  |
| `name` | `string` | no |  |
| `rename` | `any` | no | new name |

## Call through motion_run

```text
motion_run {
  "path": "<file>.kmotion",
  "steps": [{ "command": "window.editWorkspaces" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `delete`, `name`, `rename`. motion_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `frontend` | `string` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "frontend": {
      "type": "string"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "delete": {
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "rename": {
      "description": "new name"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/motion-darwin-arm64@0.1.0 and the kit itself (motion_commands through @kition/cli@0.1.1, built from KitionAI/kition-motion@4719aa7).
