shell_exec
Run commands in a Windows 98 VM and capture ordered stdout and stderr output. If an error occurs, receive a screenshot to diagnose issues, then unlock the VM when done.
Instructions
Run a command to completion with captured ordered stdout+stderr output; error results may include a screenshot. VM remains locked by this session; call vm_unlock when finished.
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": {
"command": "<command>",
"vm_name": "<vm_name>"
},
"name": "shell_exec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | ||
| command | Yes | ||
| vm_name | Yes | Unique VM name configured in WIN98CTL.INI. | |
| timeout_ms | No | ||
| screenshot_on_error | No |