Add website editor
add_website_editorMake a workspace member an editor of a website, by email. Editors can change the website, see its previews and put them live. The person must already be a member of the workspace with a role that can edit; to add someone new, invite them to the workspace first. Only a workspace owner can change the editors.
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>",
"email": "<email>"
},
"name": "add_website_editor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The member’s email | ||
| site_id | Yes | The id of the website site | |
| workspace_id | No | Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for). |