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.

move_window

Move a window to an exact index in its owning session. Change tmux state; no client-supplied executable input.

All C++ tools · JSON · Source

Arguments

index required · integer
Non-negative destination index.
windowId required · string
Stable window ID.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"index": {
"description": "Non-negative destination index.",
"maximum": 100000,
"minimum": 0,
"type": "integer"
},
"windowId": {
"description": "Stable window ID.",
"maxLength": 512,
"type": "string"
}
},
"required": [
"windowId",
"index"
],
"type": "object"
}
Output schema
{
"additionalProperties": true,
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Move a tmux window"
}
Esc

Type to search.