Get mailbox encryption
cooper_get_mailbox_encryptionUse this to see whether this account encrypts new message bodies and whether the owner has locked the agent out. Read-only; requires auth. Inputs: inbox_id (omit when this key is limited to one inbox; it only checks that the inbox is yours). Returns {object:"inbox_encryption", enabled, key_configured, locked, locked_at}. enabled true means new bodies and attachment bytes are sealed with a per-account key. Existing plaintext still reads. locked true means read and send return HTTP 403 account_locked until the owner unlocks. The owner turns the lock with POST /api/v1/owner/agents/{inbox}/lock. Enabling encryption is POST /api/v1/inboxes/{id}/encryption {"enabled":true}. Without COOPER_INBOX_ENCRYPTION_KEY that call is HTTP 503 encryption_unavailable. The default flag is on. This result has no message body.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "cooper_get_mailbox_encryption"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox_id | No | Inbox id, username, or email. Omit it when this key is limited to one inbox. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | No | True when the owner has locked the agent out of read and send. | |
| object | No | inbox_encryption. | |
| enabled | No | True after this account turned encryption on. | |
| locked_at | No | ISO-8601 time of the lock, or null. | |
| key_configured | No | True when the operator key is set. No key material is returned. |