hostodo_get_vm_command_output
Fetch the status and tail output of an asynchronous command run on a Hostodo VM. Use this to check command completion and read stdout/stderr with configurable byte limits.
Instructions
Get status and bounded output tails for an async command run. Returns current status, exit_code, stdout/stderr tails, and next offsets for incremental reads via hostodo_read_vm_command_logs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vm_id | Yes | Hostodo instance id, hostname, or unique prefix. | |
| command_id | Yes | Command run ID from hostodo_start_vm_command. | |
| stderr_tail_bytes | No | Max bytes of stderr tail to return (default 8192). | |
| stdout_tail_bytes | No | Max bytes of stdout tail to return (default 8192). |