oci_iam_list_policies
Lists IAM policies in a compartment, with an optional limit on the number returned. Provide a compartment OCID to scope the results; otherwise, policies are listed for the tenancy.
Instructions
List IAM policies in a compartment
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_iam_list_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum policies to return | |
| compartment_id | No | Compartment OCID (defaults to tenancy) |