kitty_detach_window
Detach terminal windows and move them to a different tab or a new OS window. Specify a destination tab or create a new one for the detached window.
Instructions
Detach windows and move them to a different tab or a new OS window. By default, detached windows are moved to a new OS window. Use target_tab to specify a destination tab, or "new" to create a new tab.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "kitty_detach_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| self | No | Detach the window this command runs in. | |
| match | No | Window match expression for windows to detach. | |
| target_tab | No | Tab match expression for the destination, or "new" to create a new tab. If omitted, a new OS window is created. | |
| stay_in_tab | No | Keep focus in the current tab after moving windows. |