# set_synchronize_panes

Source: https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/

> Change tmux state; no client-supplied executable input. Set the window default for synchronized pane input. Pane overrides still determine each effective configured cohort.

tool MCPlatest

MCP concept example

A working example of the core library. It can change without notice.

[What concept means](https://libtmux.org/en/meta/support/#concept-and-alpha)

* **set_synchronize_panes**( [enabled](https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/#mcp.tool.set_synchronize_panes.input%2Fproperties%2Fenabled): [boolean](https://json-schema.org/understanding-json-schema/reference/boolean "boolean (JSON Schema)"), [windowId](https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/#mcp.tool.set_synchronize_panes.input%2Fproperties%2FwindowId): [string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"), )

  tool \[[source](https://github.com/libtmux/libtmux-ts/blob/46cccfef2a546de55ce8b308249b8c76339089a0/packages/mcp/src/tools/target.ts#L441)][¶](https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/#mcp.tool.set_synchronize_panes)

  Change tmux state; no client-supplied executable input. Set the window default for synchronized pane input. Pane overrides still determine each effective configured cohort.

  * MCP request method

    `tools/call` Send `set_synchronize_panes` as the tool name, with the arguments below.

  ## Arguments[#](https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/#mcp.tool.set_synchronize_panes.parameters)

  * **[`enabled`](https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/#mcp.tool.set_synchronize_panes.input%2Fproperties%2Fenabled)** ([boolean](https://json-schema.org/understanding-json-schema/reference/boolean "boolean (JSON Schema)"))

    Whether typing into one pane of this window types into all of them.

  * **[`windowId`](https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/#mcp.tool.set_synchronize_panes.input%2Fproperties%2FwindowId)** ([string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"))

    Stable window id, e.g. @1.

    * pattern

      `"^@\\d+$"`

  ## Result[#](https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/#mcp.tool.set_synchronize_panes.result)

  Returns [object](https://json-schema.org/understanding-json-schema/reference/object "object (JSON Schema)")

  * **[`enabled`](https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/#mcp.tool.set_synchronize_panes.output%2Fproperties%2Fenabled)** ([boolean](https://json-schema.org/understanding-json-schema/reference/boolean "boolean (JSON Schema)"))

  * **[`windowId`](https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/#mcp.tool.set_synchronize_panes.output%2Fproperties%2FwindowId)** ([string](https://json-schema.org/understanding-json-schema/reference/string "string (JSON Schema)"))

    Stable window id, e.g. @1.

    * pattern

      `"^@\\d+$"`

  No other properties are accepted.

  ## Annotations[#](https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/#mcp.tool.set_synchronize_panes.annotations)

  * [`destructiveHint`](https://libtmux.org/en/ts/latest/mcp/reference/glossary/#destructiveHint)

    `true`

  * [`idempotentHint`](https://libtmux.org/en/ts/latest/mcp/reference/glossary/#idempotentHint)

    `false`

  * [`openWorldHint`](https://libtmux.org/en/ts/latest/mcp/reference/glossary/#openWorldHint)

    `true`

  * [`readOnlyHint`](https://libtmux.org/en/ts/latest/mcp/reference/glossary/#readOnlyHint)

    `false`

  ## Protocol data[#](https://libtmux.org/en/ts/latest/mcp/tools/set_synchronize_panes/#mcp.tool.set_synchronize_panes.schemas)

  Use the complete advertised contract for validation and client integration.

  Input schema

  ```json
  {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "properties": {
      "enabled": {
        "description": "Whether typing into one pane of this window types into all of them.",
        "type": "boolean"
      },
      "windowId": {
        "description": "Stable window id, e.g. @1.",
        "pattern": "^@\\d+$",
        "type": "string"
      }
    },
    "required": [
      "enabled",
      "windowId"
    ],
    "type": "object"
  }
  ```

  Output schema

  ```json
  {
    "$schema": "http://json-schema.org/draft-07/schema#",
    "additionalProperties": false,
    "properties": {
      "enabled": {
        "type": "boolean"
      },
      "windowId": {
        "description": "Stable window id, e.g. @1.",
        "pattern": "^@\\d+$",
        "type": "string"
      }
    },
    "required": [
      "enabled",
      "windowId"
    ],
    "type": "object"
  }
  ```
