# clear_pane_scrollback

Source: https://libtmux.org/en/swift/latest/mcp/tools/clear_pane_scrollback/

> Delete tmux state; accepts no command payload. Irreversibly discard retained scrollback for one pane.

MCP is in development

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

Delete tmux state; accepts no command payload. Irreversibly discard retained scrollback for one pane.

[All Swift tools](https://libtmux.org/en/swift/latest/mcp/tools/) · [JSON](https://libtmux.org/en/swift/latest/mcp/tools/clear_pane_scrollback.json) · [Source](https://github.com/libtmux/libtmux-swift/blob/63551afeae8ea3d272e5262208b87735888daf5f/Sources/LibTmuxMCP/ToolOperation.swift#L47)

## Arguments

* `paneId` required · string

  Caller-controlled paneId.

## Schemas

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

Input schema

```json
{
  "additionalProperties": false,
  "properties": {
    "paneId": {
      "description": "Caller-controlled paneId.",
      "type": "string"
    }
  },
  "required": [
    "paneId"
  ],
  "type": "object"
}
```

Output schema

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

Tool annotations

```json
{
  "destructiveHint": true,
  "idempotentHint": false,
  "openWorldHint": true,
  "readOnlyHint": false,
  "title": "Clear pane scrollback"
}
```
