Disconnect a connector
disconnect_connectorRemove a connection so agents can no longer use it. For a signed-in connection Sinatra also revokes its access at the provider: providerRevocation says revoked or failed. revokeAtProvider is true when the credential may still work at the provider (always for a pasted token) and the user should remove it there. leftAtProvider, when present, says what the provider still lists as an authorized application and where the user removes it; pass it on. Workspace admins or owners only.
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>",
"connection_id": "<connection_id>"
},
"name": "disconnect_connector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | Yes | The workspace id (from whoami). | |
| connection_id | Yes | The connection id from list_connectors. |