new_session
Create a new detached tmux session, optionally specifying working directory, session name, or an initial command. Use list_sessions first to avoid name conflicts.
Instructions
Create a new detached tmux session. Before calling, use list_sessions to check whether a session with the requested name already exists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for the session. | |
| name | No | Session name. Omit to let tmux auto-assign one. | |
| command | No | Shell command to run immediately in the first window. WARNING: executes in your shell. |