Preview an access rule
preview_access_ruleWhich live projects and which people a rule would match if it were saved as described. Nothing is written. Mirrors the preview in the New rule drawer on Settings › Roles & access; needs Owner or Admin. People whose role already decides their reach (Owner, Admin, Billing) are left out, because the rule moves nothing for them.
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": {
"match": "<match>"
},
"name": "preview_access_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | The tags to match; required unless match is Every. | |
| match | Yes | All (the project carries every tag), Any (at least one), or Every (every live project, whatever it carries). | |
| userIds | No | People by userId, as list_members returns it. | |
| groupIds | No | Group ids, as list_access_groups returns them. |