create_page_rule_tool
Create a new Cloudflare page rule by specifying target URLs, actions, priority, and status to control caching or security behavior for specific web pages.
Instructions
Create a new page rule.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | active or disabled (default: active) | active |
| actions | Yes | Page rule actions | |
| targets | Yes | URL pattern targets | |
| zone_id | Yes | Zone ID (32-character hex string) | |
| priority | No | Rule priority 1-1000 (default: 1) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||