imap_disconnect
Disconnects a specified email account from its IMAP session, closing the mailbox connection when access is no longer needed.
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 |