{"object":"list","data":[{"name":"cooper_onboard","description":"Create a Cooper Email inbox (username@cooperemail.com) and an API key. This writes a new account inbox. Returns the plaintext key once — save it; do not echo it after the first show.","inputSchema":{"type":"object","properties":{"username":{"type":"string","description":"Local part of the address, becoming username@cooperemail.com"},"display_name":{"type":"string","description":"Optional From display name"}},"required":["username"]}},{"name":"cooper_create_inbox","description":"Create another inbox on the signed-in Cooper Email account. This writes a new public address.","inputSchema":{"type":"object","properties":{"username":{"type":"string"},"display_name":{"type":"string"}},"required":["username"]}},{"name":"cooper_list_inboxes","description":"List inboxes on the signed-in Cooper Email account. Read-only. Returns id, username, email, display name, and created time.","inputSchema":{"type":"object","properties":{}}},{"name":"cooper_send_message","description":"Send an email from the Cooper inbox to the addresses in to. This writes a stored message and delivers it on the public Internet. Pass text and/or html; optional attachments. client_id makes retries safe.","inputSchema":{"type":"object","properties":{"inbox_id":{"type":"string"},"to":{"type":"array","items":{"type":"string"}},"subject":{"type":"string"},"text":{"type":"string"},"html":{"type":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":"string"},"content_base64":{"type":"string"},"content_id":{"type":"string"}},"required":["filename","content_base64"]}},"client_id":{"type":"string"}},"required":["inbox_id","to","subject"]}},{"name":"cooper_list_messages","description":"List messages in a Cooper inbox, newest first. Read-only. Returns ids, addresses, subjects, previews, and times — not full bodies. inbox_id is optional and defaults to the newest inbox. Use cooper_get_message to read one message.","inputSchema":{"type":"object","properties":{"inbox_id":{"type":"string","description":"Inbox id, username, or email. Omit to use the newest inbox."},"limit":{"type":"number"}}}},{"name":"cooper_get_message","description":"Fetch one stored Cooper message, including extracted_text and attachment metadata. Read-only.","inputSchema":{"type":"object","properties":{"inbox_id":{"type":"string"},"message_id":{"type":"string"}},"required":["inbox_id","message_id"]}},{"name":"cooper_search","description":"Search stored Cooper mail for this account. Read-only. Returns matching message summaries and extracted_text.","inputSchema":{"type":"object","properties":{"q":{"type":"string","description":"Search query (AND across tokens)"},"limit":{"type":"number"}},"required":["q"]}},{"name":"cooper_inject_inbound","description":"Store a test inbound message in the inbox without waiting for MX. This writes mail. Production inbound uses Cloudflare Email Routing.","inputSchema":{"type":"object","properties":{"inbox_id":{"type":"string"},"from":{"type":"string"},"subject":{"type":"string"},"text":{"type":"string"},"html":{"type":"string"},"attachments":{"type":"array","items":{"type":"object","properties":{"filename":{"type":"string"},"content_type":{"type":"string"},"content_base64":{"type":"string"},"content_id":{"type":"string"}},"required":["filename","content_base64"]}},"client_id":{"type":"string"}},"required":["inbox_id","from"]}},{"name":"cooper_register_webhook","description":"Register an HTTPS URL that Cooper will POST when mail is received or sent. This writes a webhook on the account.","inputSchema":{"type":"object","properties":{"url":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["message.received","message.sent"]}}},"required":["url"]}}]}