Disconnect Google Email
gmail_disconnectDisables inspected Google Email authority and retains provider cleanup work.
Requires lifecycle authority and gmail_disconnect_impact's token; no generic channel delete. cleanup_pending or a failed wake is not provider erasure. Cleanup retries retain responsibility; reconnect does not restore old grants. Actual host action confirmation is required; gmail_disconnect_impact shows local state after a lost response.
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": {
"agent_id": "<agent_id>",
"expected_impact": "<expected_impact>"
},
"name": "gmail_disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID from agents_list or agent_create. | |
| expected_impact | Yes | Current impact_token from gmail_disconnect_impact for this Agent. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| effect | No | ||
| next_action | Yes | ||
| cleanup_wake_requested | No | ||
| provider_erasure_verified | Yes |