get_zone_logs_retention
Retrieve current log retention settings for a Cloudflare zone by providing the zone ID. Determine how long logs are kept to plan storage and compliance.
Instructions
Get zone logs retention settings
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>"
},
"name": "get_zone_logs_retention"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| zone_id | Yes | The zone ID |