MCPAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

swap_pane

Change tmux state; no client-supplied executable input. Swaps the positions of two panes.

All Go tools · JSON · Source

Arguments

other_pane_id required · string
the other pane id, such as %2
pane_id required · string
one pane id, such as %1

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"other_pane_id": {
"description": "the other pane id, such as %2",
"type": "string"
},
"pane_id": {
"description": "one pane id, such as %1",
"type": "string"
}
},
"required": [
"pane_id",
"other_pane_id"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"paneId": {
"type": "string"
},
"withPaneId": {
"type": "string"
}
},
"required": [
"paneId",
"withPaneId"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "Swap panes"
}
Esc

Type to search.