move_window
Change tmux state; no client-supplied executable input. Moves a window to another session, optionally at an index.
All Go tools · JSON · Source
Arguments
indexoptional · null | integer- a destination window index; omit for tmux's choice
session_idrequired · string- the destination session id, such as $1
window_idrequired · string- the window id, such as @1
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "index": { "description": "a destination window index; omit for tmux's choice", "type": [ "null", "integer" ] }, "session_id": { "description": "the destination session id, such as $1", "type": "string" }, "window_id": { "description": "the window id, such as @1", "type": "string" } }, "required": [ "window_id", "session_id" ], "type": "object"}Output schema
{ "additionalProperties": false, "properties": { "index": { "type": "integer" }, "session": { "type": "string" }, "windowId": { "type": "string" } }, "required": [ "windowId", "session", "index" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "openWorldHint": true, "title": "Move a window"}