Disconnect an agent integration
disconnect_agent_oauthDisconnect a sign-in based integration from a deployed agent. Preview what will be removed first, then confirm to revoke access; scheduled tasks stop and the agent restarts.
Instructions
Disconnect a sign-in based integration (for example Google Ads, Meta Ads or HubSpot) from a deployed agent. Call it without confirm first: it shows what is connected and what will be removed, and changes nothing. After the user agrees, call again with confirm: true. The saved sign-in, the selected accounts and the connection's settings are cleared (your own app keys are kept), the provider is asked to revoke the access where it supports that, scheduled tasks that need the integration stop running, and a running agent restarts. It cannot be undone; reconnect with connect_agent_oauth. For plain credentials such as Telegram, clear fields with set_agent_credentials instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | false (default) only shows what would be removed. true disconnects. | |
| agent_guid | Yes | The deployed agent's guid, from list_my_agents. | |
| credential | Yes | The integration's credential key, for example "google-ads" or "meta-ads". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| message | Yes | ||
| accounts | Yes | ||
| agentGuid | Yes | ||
| willClear | Yes | ||
| credential | Yes | ||
| nextAction | No | ||
| disconnected | Yes | ||
| connectedBefore | Yes |