Get resource details
get_resourceFetch detailed attributes for an OCI resource by type and OCID. Known resource types return full details; others return the identifier, with secrets redacted.
Instructions
Fetch detailed attributes for a resource by type and OCID. Known types (Vcn, Subnet, Instance) return full attributes; others return the identifier. Secrets are redacted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ocid | Yes | The resource OCID | |
| resourceType | Yes | OCI resource type, e.g. Vcn, Subnet, Instance | |
| compartmentId | No | Compartment OCID (for scoping) |