get_policy
Retrieve detailed IAM policy information including all statements by providing the policy OCID to manage Oracle Cloud Infrastructure access controls.
Instructions
Get detailed information about a specific IAM policy.
Args:
policy_id: OCID of the policy to retrieve
Returns:
Detailed policy information including all policy statements
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": {
"policy_id": "<policy_id>"
},
"name": "get_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| policy_id | Yes |