Limit number of opens
set_site_access_opensLimit how many times a gated site can be opened: after N logins the link stops working. Counts devices, not page views (one person on phone and laptop is two opens), so the minimum is 3; visitors already in keep access. Only for password, email_list and subscribers; members and paywall limit people via max_seats in set_site_members_access.
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": {
"site_id": "<site_id>"
},
"name": "set_site_access_opens"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | UUID of the site | |
| max_opens | No | Number of opens allowed, 3 or more; null removes the limit | |
| reset_counter | No | Reset the count of opens already used, e.g. after raising an exhausted limit |