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.
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": "new_session"
}
}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. |