Detect Remote OS
os_detectIdentify the operating system and environment of an active SSH session to guide subsequent commands and configurations.
Instructions
Detects operating system and environment information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | SSH session ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arch | Yes | ||
| init | Yes | ||
| shell | Yes | ||
| distro | Yes | ||
| tempDir | No | ||
| version | Yes | ||
| platform | Yes | ||
| defaultShell | No | ||
| packageManager | Yes |