# set_mouse_enabled

Source: https://libtmux.org/en/go/latest/mcp/tools/set_mouse_enabled/

> Change tmux state; no client-supplied executable input. Enables or disables tmux mouse handling.

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. Enables or disables tmux mouse handling.

[All Go tools](https://libtmux.org/en/go/latest/mcp/tools/) · [JSON](https://libtmux.org/en/go/latest/mcp/tools/set_mouse_enabled.json) · [Source](https://github.com/libtmux/libtmux-go/blob/aaf86678fe0cbdf56f9e1c9c46b0db0704e15656/mcp/manifest_catalog.go#L417)

## Arguments

* `enabled` optional · boolean

  whether the setting is enabled

## Schemas

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

Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "enabled": {
      "description": "whether the setting is enabled",
      "type": "boolean"
    }
  },
  "type": "object"
}
```

Output schema

```json
{
  "additionalProperties": false,
  "properties": {
    "enabled": {
      "type": [
        "null",
        "boolean"
      ]
    },
    "name": {
      "type": "string"
    },
    "target": {
      "type": "string"
    },
    "value": {
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}
```

Tool annotations

```json
{
  "destructiveHint": true,
  "openWorldHint": true,
  "title": "Set mouse handling"
}
```
