Inbox security check
cooper_security_checkUse this before an agent inbox sends mail. Read-only; requires auth and inbox_read. Input: inbox_id (optional; inbox id, username, or email). Omit inbox_id when the key is limited to one inbox and Cooper grades that inbox. An account-wide key must pass inbox_id. Another inbox is HTTP 404 inbox_not_found. A missing key is HTTP 401. Returns {inbox_id, address, checked_at, summary:{pass, warn, fail, info, total}, checks:[{id, title, status, detail, fix?}]}. status is pass, warn, fail, or info. info means Cooper does not store that control. The ten checks are key scope, inbound screening, allowed senders, send limits, webhook signing, human approval, send caps and idempotency, domain reputation, tenant isolation, and the event log. The result lists key id and prefix and webhook ids. It does not return key material or a webhook signing value.
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_security_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inbox_id | No | Inbox id (inb_…), username, or email. Omit it when this key is limited to one inbox. Another inbox is 404 inbox_not_found. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| checks | No | The ten checks, in a fixed order. status is pass, warn, fail, or info. | |
| address | No | Email address of that inbox. | |
| summary | No | How many checks are pass, warn, fail, and info. total is 10. | |
| inbox_id | No | Inbox that was graded. | |
| checked_at | No | ISO-8601 time of this check. |