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

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

All Java tools · JSON · Source

Arguments

other_pane_id required · string
The other pane ID, such as %2.
pane_id required · string
The pane to act on, such as %1. Every listing tool returns these.

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": "The pane to act on, such as %1. Every listing tool returns these.",
"type": "string"
}
},
"required": [
"pane_id",
"other_pane_id"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"other_pane_id": {
"type": "string"
},
"pane_id": {
"type": "string"
}
},
"required": [
"pane_id",
"other_pane_id"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Swap panes"
}
Esc

Type to search.