Update Page Rule Tool
update_page_rule_toolUpdate an existing Cloudflare page rule using its zone and rule IDs, changing URL targets, actions, priority, or status.
Instructions
Update an existing page rule.
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": {
"zone_id": "<zone_id>",
"rule_id": "<rule_id>"
},
"name": "update_page_rule_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Status (optional) | |
| actions | No | Actions (optional) | |
| rule_id | Yes | Page rule ID (32-character hex string) | |
| targets | No | URL patterns (optional) | |
| zone_id | Yes | Zone ID (32-character hex string) | |
| priority | No | Priority (optional) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||