run_machine
Execute a command inside a container machine, booting it when needed. Omit the machine name to use the default environment.
Instructions
Run a command in a container machine (booting it if necessary). If name is omitted,
the default machine is used.
Example: run_machine(["uname", "-a"], name="dev")
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>"
},
"name": "run_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | ||
| name | No | ||
| root | No | ||
| user | No | ||
| detach | No | ||
| command | Yes | ||
| workdir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |