imap_disconnect
End a session for a specified IMAP account by providing its account ID, closing the connection securely.
Instructions
Disconnect from an IMAP account
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": {
"accountId": "<accountId>"
},
"name": "imap_disconnect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Account ID to disconnect from |