list_shapes
Retrieve available compute shapes with CPU, memory, network, and GPU specifications for an Oracle Cloud Infrastructure compartment to support resource selection.
Instructions
List all compute shapes available in a compartment.
Args:
compartment_id: OCID of the compartment
Returns:
List of shapes with CPU, memory, network, and GPU specifications
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>"
},
"name": "list_shapes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compartment_id | Yes |