hermosodocs

disconnect_connector

Disconnect a connected account destructive

Area: CONNECTOR WRITES · Workspace & account. Generated from the running MCP server, like the rest of the tool reference.

Description

Disconnect a third-party account from this workspace (Meta, Google Ads, Google Drive/Sheets/Docs, YouTube, TikTok, LinkedIn, X, Reddit Ads, Pinterest, Google Business, Microsoft Advertising/OneDrive, Slack, …). This always drops the stored credentials, so every tool for that provider stops working immediately and posts/campaigns already published are NOT affected. IT NEVER REVOKES THE GRANT AT THE PROVIDER: the authorisation stays in place, so the same account keeps working in any other brand it is connected to, until the user removes Hermoso in that provider's own settings. The unconfirmed call names where to do that (list_connectors carries revokesAtProvider:"local") — relay it rather than promising a revoke. WITHOUT account, EVERY account on that connector is removed (pass account to remove just one). Removing a mailbox stops the emails still waiting to go from it: its sequences pause and say why. RECONNECTING IS THE USER'S JOB: a sign-in account needs their browser (the provider's consent screen), so an agent cannot undo this. Name the provider to the user, then call with confirm:true. Use list_connectors for the exact provider ids.

Parameters

ParameterTypeDescription
providerrequiredstringprovider id exactly as list_connectors reports it, e.g. "meta", "google_ads", "youtube", "linkedin"
confirmbooleanREQUIRED true. Reconnecting afterwards is the user's job: a sign-in account in their browser, a paste-a-key account by entering its key again
accountstringon a channel with several connected accounts (TikTok, X, YouTube, Threads, Bluesky, Telegram, Pinterest): remove ONLY this account (@handle or id from list_connector_accounts) and keep the others

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/disconnect_connector.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"disconnect_connector","arguments":{"provider":"<string>"}}}

CLI

hermoso call disconnect_connector --json '{"provider":"<string>"}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 143 Workspace & account tools · tools.json