cf_list_access_policies
List Cloudflare Access policies for an account or a specific application to review access controls.
Instructions
List Access policies — either account-wide or for a specific app.
Args:
account_id: account ID.
app_id: when provided, returns policies attached to that app.
When omitted, returns all account-level reusable policies.
Calls:
- GET /accounts/{account_id}/access/apps/{app_id}/policies (app-scoped)
- GET /accounts/{account_id}/access/policies (account-scoped)
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": {
"account_id": "<account_id>"
},
"name": "cf_list_access_policies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | ||
| app_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |