Create a new iTerm2 terminal session with an optional command.
Creates a new iTerm2 terminal tab, optionally running a specified command. Use this to start background processes or open a fresh shell for interactive tasks.
/plugin marketplace add thamam/A2X-marketplace/plugin install thamam-iterm2-control-plugins-iterm2-control@thamam/A2X-marketplaceCreate a new iTerm2 terminal session with an optional command.
/create-terminal [command]
# Create empty terminal
/create-terminal
# Create and run command
/create-terminal npm start
# Run Python REPL
/create-terminal python -i
# Start development server
/create-terminal npm run dev
When this command is invoked:
create_iterm_tab tool:
create_iterm_tab(command=user_command)
Created new terminal session!
Session ID: {session_id}
You can now:
- Send commands with: /send-command {session_id} {command}
- Read output with: read_session_output
- Terminate with: terminate_session