List allow or block entries
cooper_list_list_entriesUse this when you need the addresses on an allow or block list. Read-only; requires auth. Inputs: direction (required; send, receive, or reply), type (required; allow or block), inbox_id (optional; inbox id, username, or email; omit for the account-wide list). Returns {data:[{object:"list_entry", direction, type, entry, entry_type, inbox_id, reason, created_at}], next_page_token}. entry_type is email or domain. inbox_id is null on an account-wide entry. Up to 1000 entries per list. Fails with 400 invalid_list, or inbox_not_found when inbox_id is another account's inbox. The per-inbox task allowlist is separate and is unchanged.
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>"
},
"name": "cooper_list_list_entries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | allow limits mail to matching addresses when the list is non-empty. block rejects matching addresses. | |
| inbox_id | No | Inbox id (inb_…), username, or full email. Omit for the account-wide list. | |
| direction | Yes | send checks recipients. receive checks new inbound mail. reply checks mail that answers an outbound Message-ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Items on this page, in the order the tool description gives. | |
| object | No | Object type name, such as list, message, or thread. | |
| next_page_token | No | Cursor for the next page, or null when this is the last page. Pass it back as page_token. |