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.
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": {
"vm_id": "<vm_id>",
"command_id": "<command_id>"
},
"name": "hostodo_get_vm_command_output"
}
}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). |