Restore a window layout
tmux_restore_layoutRestore a captured tmux layout to a target window, reapplying pane arrangement from a saved layout string.
Instructions
Apply a saved layout string to a target window.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"layout": "<layout>"
},
"name": "tmux_restore_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SSH host alias (optional). Uses default host if set. | |
| layout | Yes | Layout string obtained from tmux_capture_layout. | |
| target | Yes | Window target (e.g., session:window or window id). |