{
  "name": "display_message",
  "wireName": "display_message",
  "source": {
    "repo": "tmux-python/libtmux-mcp",
    "revision": "4daddc0dfca96c43bf521d818bf91564e1434760",
    "extractedRevision": "4daddc0dfca96c43bf521d818bf91564e1434760",
    "file": "src/libtmux_mcp/tools/pane_tools/__init__.py",
    "line": 179
  },
  "description": "Read tmux variables against a target and return the substituted text.\n\nUse this when no dedicated tool covers the field you want, e.g.\n'#{window_zoomed_flag}', '#{pane_dead}', '#{client_activity}'.\n\nAccepts literal text and '#{variable}' references. Format modifiers,\nconditionals, and jobs are refused: tmux expands '#{E:x}' by running\nx's *value* through the expander again, and a value can arrive from a\npane rather than from the caller. For raw format syntax, run\n'tmux display-message -p' through run_command, where the caller\nsupplies it on a surface labelled execution.\n\nReturned values can carry text a pane chose, such as a working\ndirectory or a running command.",
  "schemaStatus": "runtime",
  "inputSchema": {
    "additionalProperties": false,
    "properties": {
      "format_string": {
        "description": "Literal text and '#{variable}' references (e.g.\n'#{cursor_x} #{cursor_y}').",
        "type": "string"
      },
      "pane_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "description": "Pane ID (e.g. '%1')."
      },
      "session_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "description": "Session ID for pane resolution."
      },
      "session_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "description": "Session name for pane resolution."
      },
      "socket_name": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "description": "tmux socket name."
      },
      "window_id": {
        "anyOf": [
          {
            "type": "string"
          },
          {
            "type": "null"
          }
        ],
        "default": null,
        "description": "Window ID for pane resolution."
      }
    },
    "required": [
      "format_string"
    ],
    "type": "object"
  },
  "outputSchema": {
    "properties": {
      "result": {
        "type": "string"
      }
    },
    "required": [
      "result"
    ],
    "type": "object",
    "x-fastmcp-wrap-result": true
  },
  "annotations": {
    "destructiveHint": true,
    "idempotentHint": false,
    "openWorldHint": true,
    "readOnlyHint": false
  },
  "meta": {
    "fastmcp": {
      "tags": [
        "inspect"
      ]
    }
  }
}
