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

Change tmux state; no client-supplied executable input. Move one window appearance to another session.

All Swift tools · JSON · Source

Arguments

index optional · integer
Caller-controlled index.
session optional · string
Caller-controlled session.
sourceIndex optional · integer
Caller-controlled sourceIndex.
sourceSession optional · string
Caller-controlled sourceSession.
windowId required · string
Caller-controlled windowId.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"index": {
"description": "Caller-controlled index.",
"minimum": 0,
"type": "integer"
},
"session": {
"description": "Caller-controlled session.",
"type": "string"
},
"sourceIndex": {
"description": "Caller-controlled sourceIndex.",
"minimum": 0,
"type": "integer"
},
"sourceSession": {
"description": "Caller-controlled sourceSession.",
"type": "string"
},
"windowId": {
"description": "Caller-controlled windowId.",
"type": "string"
}
},
"required": [
"windowId"
],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"target": {
"type": "string"
},
"windowId": {
"type": "string"
}
},
"required": [
"target",
"windowId"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "Move window"
}
Esc

Type to search.