Workspace websites
manage_workspace_sitesWebsites of the workspace where surveys on a website (quiz type micro) are shown. list — the sites with a ready embed code (snippet): it is placed once on all pages of the site, and all its surveys and their settings then come from the server; is_code_installed tells whether the script has already called home from the site. add — adds a site by domain; a domain already in the workspace returns the existing site (created: false). update — changes a site: pause_minutes is the pause between the site surveys. The site id is needed by manage_quiz_site_placement. list needs access to the workspace; add and update need the edit_quiz right, as in the cabinet.
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": {
"workspace_id": "<workspace_id>",
"action": "<action>"
},
"name": "manage_workspace_sites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | list — sites of the workspace; add — add a site; update — change a site. | |
| domain | No | For add: the site domain. A full address works too: https://Shop.Example.com/path becomes shop.example.com. Up to 253 characters. | |
| site_id | No | For update: site ID from list. | |
| workspace_id | Yes | Workspace ID. | |
| pause_minutes | No | For update: pause between the site surveys in minutes, 0..1440 (0 — none). After a survey shows by itself (delay, scroll, leaving the page), the other surveys of the site do not show by themselves for this many minutes; a button, an element click and open_call ignore it. Out of range — clamped to the nearest bound. |