# set_synchronize_panes

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

> Change tmux state; no client-supplied executable input. Turn synchronize-panes on or off for a window. Input typed into one of its panes then reaches the synchronized input cohort: every pane whose effective synchronize-panes setting is on. A pane without a setting of its own follows the window; one with its own setting stays included or excluded either way.

MCP is in development

Server behavior and tool contracts may change. Tool availability depends on the server configuration.

Change tmux state; no client-supplied executable input. Turn synchronize-panes on or off for a window. Input typed into one of its panes then reaches the synchronized input cohort: every pane whose effective synchronize-panes setting is on. A pane without a setting of its own follows the window; one with its own setting stays included or excluded either way.

[All C# tools](https://libtmux.org/en/csharp/latest/mcp/tools/) · [JSON](https://libtmux.org/en/csharp/latest/mcp/tools/set_synchronize_panes.json) · [Source](https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.Mcp/Policy/CapabilityModel.cs#L611)

## Arguments

* `enabled` required · boolean

  Whether to set this window's inherited synchronize-panes default. Pane overrides can still include or exclude individual panes.

* `windowId` optional · string | null

  A window id. Omit for this server's own window, or else the one the first session shows.

  Default: `null`.

## Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "enabled": {
      "description": "Whether to set this window's inherited synchronize-panes default. Pane overrides can still include or exclude individual panes.",
      "type": "boolean"
    },
    "windowId": {
      "default": null,
      "description": "A window id. Omit for this server's own window, or else the one the first session shows.",
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "enabled"
  ],
  "type": "object"
}
```

Output schema

```json
{
  "properties": {
    "changed": {
      "type": "string"
    },
    "paneId": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "sessionId": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    },
    "windowId": {
      "default": null,
      "type": [
        "string",
        "null"
      ]
    }
  },
  "required": [
    "changed"
  ],
  "type": "object"
}
```

Tool annotations

```json
{
  "destructiveHint": true,
  "idempotentHint": false,
  "openWorldHint": true,
  "readOnlyHint": false,
  "title": "Set synchronize panes"
}
```
