set_machine
Configures a container machine's CPU, memory, home mount mode, and nested virtualization settings; changes apply after restart and target the default machine when no name is provided.
Instructions
Set container machine configuration (takes effect after restart). home_mount is one
of 'ro', 'rw', 'none'. virtualization toggles nested virtualization (requires Apple
Container 1.1+, Apple Silicon M3+, macOS 15+, and a guest kernel with CONFIG_KVM=y).
Applies to the default machine if name is omitted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_machine"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpus | No | ||
| name | No | ||
| memory | No | ||
| home_mount | No | ||
| virtualization | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |