revoke_connection
Revoke a third-party app's access to the user's Agentcard account. Disconnects the app and invalidates its OAuth tokens; it must reconnect via OAuth to regain access. Pass the clientId shown by list_connections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| client_id | Yes | The OAuth client ID of the app to revoke (from list_connections). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | Result status: "revoked" when tokens were invalidated, "not_connected" when the app had no active access. | |
| message | Yes | Human-readable outcome. | |
| revoked | No | Number of OAuth tokens that were revoked. | |
| clientId | No | The client ID that was revoked. |