# set_mouse_enabled

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

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

MCP is in development

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

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

[All Java tools](https://libtmux.org/en/java/latest/mcp/tools/) · [JSON](https://libtmux.org/en/java/latest/mcp/tools/set_mouse_enabled.json) · [Source](https://github.com/libtmux/libtmux-java/blob/f56392b5d9bc7f1f9c1631842333fb90f3d82d40/libtmux-mcp/src/main/java/io/github/libtmux/mcp/ManageTools.java#L189)

## Arguments

* `enabled` optional · boolean

  Whether mouse handling is enabled. Defaults to false.

  Default: `false`.

## Schemas

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

Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "enabled": {
      "default": false,
      "description": "Whether mouse handling is enabled. Defaults to false.",
      "type": "boolean"
    }
  },
  "required": [],
  "type": "object"
}
```

Output schema

```json
{
  "additionalProperties": false,
  "properties": {
    "enabled": {
      "type": "boolean"
    }
  },
  "required": [
    "enabled"
  ],
  "type": "object"
}
```

Tool annotations

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