exec_instance
Execute commands inside a guest or container to install software, modify files, and return stdout, stderr, and exit codes; use array arguments for preserved quoting or strings for shell execution.
Instructions
Execute a command inside the customer guest/container. Requires instances:exec. Can install/configure software and change files. Array arguments preserve quoting; strings use the Linux shell or Windows PowerShell. Returns stdout, stderr and exitCode, or a pending game receipt. Poll get_game_operation with operation_id; never resubmit an uncertain command automatically.
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": {
"id": "<id>",
"command": "<command>"
},
"name": "exec_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| command | Yes | ||
| timeout_ms | No |