Get one allow or block entry
cooper_get_list_entryUse this when you need one address or domain on an allow or block list. Read-only; requires auth. Inputs: direction (required; send, receive, or reply), type (required; allow or block), entry (required; email or domain), inbox_id (optional; omit for the account-wide list). Returns {object:"list_entry", direction, type, entry, entry_type, inbox_id, reason, created_at}. Fails with 400 invalid_list, 400 invalid_entry, 404 list_entry_not_found, or inbox_not_found.
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": {
"direction": "<direction>",
"type": "<type>",
"entry": "<entry>"
},
"name": "cooper_get_list_entry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | allow or block. | |
| entry | Yes | Email address or domain, matched case-insensitively. | |
| inbox_id | No | Inbox id (inb_…), username, or full email. Omit for the account-wide list. | |
| direction | Yes | send, receive, or reply. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | allow or block. | |
| entry | No | The email address or domain on the list. | |
| object | No | Object type name, such as list, message, or thread. | |
| reason | No | Optional note stored with the entry. | |
| deleted | No | True when the object was deleted. | |
| inbox_id | No | Inbox the entry applies to, or null for the whole account. | |
| direction | No | inbound or outbound. | |
| created_at | No | ISO-8601 time the object was created. | |
| entry_type | No | email or domain. |