oci_compute_list_instances
List all compute instances in a compartment, showing VM details like shape, state, and availability domain.
Instructions
List all compute instances in a compartment. Shows VM details including shape, state, and availability domain.
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": "oci_compute_list_instances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of instances to return | |
| compartment_id | No | Compartment OCID (defaults to tenancy) |