disconnect_integration
DESTRUCTIVE: disconnect the calling user from an integration and remove their stored connection in FuseAI. HubSpot and Notion tokens are also revoked at the provider, FuseAI's webhook is deleted in Attio, and the FuseAI app is uninstalled from the GoHighLevel sub-account when no other connection uses it; Salesforce, Zoho and Pipedrive grants are not revoked at the provider. When no teammate stays connected to that CRM, the team's CRM sync settings are archived and its scheduled syncs stop. service ∈ hubspot|salesforce|zoho|pipedrive|attio|gohighlevel|notion|slack. Confirm with the user before calling. Slack: archives only the user's own connection, and nothing is revoked or uninstalled at Slack; the team owner's, which a teammate without one posts with, is the owner's to disconnect. The owner's disconnect also turns off FuseAI's Slack agent in every Slack workspace of the team, and teammates without their own connection can no longer post; anyone else's turns off the agent in workspaces they installed it in or are connected to, once no other teammate is connected there. Without a connection of their own, a member gets 403 INSUFFICIENT_PERMISSION, and an admin gets 400 MISSING_SLACK_CREDENTIALS unless an agent they installed is turned off.
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": {
"service": "<service>"
},
"name": "disconnect_integration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | The integration to disconnect |