Set a visitor's sites
set_visitor_sitesChange which of the workspace's sites a visitor may see, by their email (as list_visitors shows it). Pass the full list of sites they should have (each a folder, an app, or a custom domain), or all_sites: true for every members-only page that admits visitors. To add a site, list_visitors first and pass their current sites plus the new one. Takes effect within seconds.
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": {
"email": "<email>"
},
"name": "set_visitor_sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The visitor's email address, as list_visitors shows it. | ||
| sites | No | Every site they should see from now on. | |
| all_sites | No | true for all of the workspace's sites. Give this or sites. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| sites | Yes | ||
| all_sites | Yes | ||
| accepted_at | Yes | ||
| invited_by_user_id | Yes |