new_window
Create a new window in any tmux session, with optional working directory, window name, and initial command.
Instructions
Create a new window in an existing tmux session.
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": {
"session": "<session>"
},
"name": "new_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the new window. | |
| name | No | Window name. | |
| command | No | Shell command to run immediately. WARNING: executes in your shell. | |
| session | Yes | Session name to create the window in. |