open-session
Open a remote session for interactive commands or background processes. Use interactive to keep state between commands, background for long-running tasks.
Instructions
Open a named session on a remote host. Use type="interactive" for stateful shell (CWD/env persists between commands) or type="background" for long-running processes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Session name (alphanumeric, dash, underscore, max 64 chars) | |
| type | No | Session type | interactive |
| command | No | Command for background sessions | |
| profile | No | Profile name (uses default if omitted) |