launch_instance
Launch an Oracle Cloud compute instance by specifying compartment, shape, subnet, image, and SSH key. Supports flexible shapes with configurable OCPUs and memory.
Instructions
Launch a compute instance. Use shape_ocpus/memory for flex shapes.
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": {
"compartment_id": "<compartment_id>",
"display_name": "<display_name>",
"shape": "<shape>",
"subnet_id": "<subnet_id>",
"image_id": "<image_id>",
"ssh_public_key": "<ssh_public_key>"
},
"name": "launch_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes | ||
| display_name | Yes | ||
| shape | Yes | ||
| subnet_id | Yes | ||
| image_id | Yes | ||
| ssh_public_key | Yes | ||
| availability_domain | No | ||
| user_data_b64 | No | ||
| assign_public_ip | No | ||
| shape_ocpus | No | ||
| shape_memory_in_gbs | No |