MCPconceptTools

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

tool MCPlatest

move_pane

move_pane( attach?: boolean, direction?: "" | "below" | "above" | "right" | "left", pane_id: string, target_pane_id?: string, target_window_id?: string, )
tool [source]

Change tmux state; no client-supplied executable input. Moves a pane beside another pane or into another window, keeping its process and id, even for the caller’s pane; refuses a window’s only pane.

MCP request method
tools/call Send move_pane as the tool name, with the arguments below.

Arguments#

No other arguments are accepted.

Result#

Returns object

No other properties are accepted.

Annotations#

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false
title
"Move a pane"

Protocol data#

Use the complete advertised contract for validation and client integration.

Input schema
{
"additionalProperties": false,
"properties": {
"attach": {
"description": "make the moved pane active in its new window",
"type": "boolean"
},
"direction": {
"description": "below, above, left, or right of the target",
"enum": [
"",
"below",
"above",
"right",
"left"
],
"type": "string"
},
"pane_id": {
"description": "the pane id to move, such as %1",
"type": "string"
},
"target_pane_id": {
"description": "the pane id to place it beside; give this or target_window_id",
"type": "string"
},
"target_window_id": {
"description": "the window id to move it into; give this or target_pane_id",
"type": "string"
}
},
"required": [
"pane_id"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"paneId": {
"type": "string"
},
"sessionId": {
"type": "string"
},
"windowId": {
"type": "string"
}
},
"required": [
"paneId",
"windowId",
"sessionId"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference