open-session
Open a remote session to run commands: use interactive for a stateful shell that preserves working directory and environment, or background for long-running processes.
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.
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": {
"name": "<name>"
},
"name": "open-session"
}
}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) |