# diagnose_failing_pane

Source: https://libtmux.org/en/go/latest/mcp/prompts/diagnose_failing_pane/

> diagnose_failing_pane: Gather pane context and propose a root-cause hypothesis without running anything.

**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)

* **diagnose_failing_pane**( [pane_id](https://libtmux.org/en/go/latest/mcp/prompts/diagnose_failing_pane/#mcp.prompt.diagnose_failing_pane.parameter.pane_id), )

  prompt

  Gather pane context and propose a root-cause hypothesis without running anything.

  * MCP request method

    `prompts/get` Send `diagnose_failing_pane` as the prompt name, with the arguments below.

  ## Arguments

  * **[`pane_id`](https://libtmux.org/en/go/latest/mcp/prompts/diagnose_failing_pane/#mcp.prompt.diagnose_failing_pane.parameter.pane_id)**

    the pane to diagnose, such as %1

    * Binding

      Prompt argument

  ## Result

  Returns the prompt’s messages. The client supplies the advertised arguments as strings.

  ## Protocol data

  Use the complete advertised contract for validation and client integration.

  Registration

  ```json
  {
    "_meta": {
      "com.git-pull.libtmux-mcp/prompt": {
        "arguments": [
          {
            "description": "the pane to diagnose, such as %1",
            "name": "pane_id",
            "required": true
          }
        ],
        "description": "Gather pane context and propose a root-cause hypothesis without running anything.",
        "name": "diagnose_failing_pane",
        "requiresTools": [
          "snapshot_pane",
          "capture_since"
        ],
        "title": "Diagnose a failing pane"
      }
    },
    "arguments": [
      {
        "description": "the pane to diagnose, such as %1",
        "name": "pane_id",
        "required": true
      }
    ],
    "description": "Gather pane context and propose a root-cause hypothesis without running anything.",
    "name": "diagnose_failing_pane",
    "title": "Diagnose a failing pane"
  }
  ```

Source revision: [libtmux/libtmux-go@a11c2d5b512261d74a43aa58d41fdc069f343bb8](https://github.com/libtmux/libtmux-go/tree/a11c2d5b512261d74a43aa58d41fdc069f343bb8).
