Turn a connector on or off for a site
set_site_connector
Turns one connector on or off for a site.
Pick the connector by its toolkitSlug from list_site_connectors. The change applies to the site's chat from the next message.
Turning one on needs your own connected account for it, which list_site_connectors reports as usableByMe, so a connector only a teammate has connected is refused with Connect your own account for this connector before enabling it here! Connecting an account happens on the Connectors page or under Manage connectors in the chat's + menu, never with an access token, over MCP or the HTTP API.
A site can have up to 10 connectors on at once, so turning one more on is refused until another is turned off. See Connectors.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
projectId |
string | Yes | The site id. |
toolkitSlug |
string | Yes | The connector slug from list_site_connectors. |
enabled |
boolean | Yes | True to turn the connector on for the site, false to turn it off. |