interplane.Get Omega
Read in your language

mailhand

mailhand: agents look after a person's email in seeded Omega. Maildir + MIME parsing, JSONL CLI and MCP, rule triage, policy-gated sending, hash-chained audit. Free (Apache-2.0).

Brought by drakestapleton

branch main Branches Tags History

mailhand / tests / fixtures / mcp / tools.expected

1 lines · 4164 bytes Raw Blame History
1{"jsonrpc":"2.0","id":2,"result":{"tools":[{"name":"list","description":"List messages as JSONL records. folder: a folder name or all (default INBOX); unread: only unread messages; since: epoch seconds; from: sender text; thread: thread id.","inputSchema":{"type":"object","properties":{"unread":{"type":"boolean"},"since":{"type":"string"},"from":{"type":"string"},"thread":{"type":"string"},"folder":{"type":"string"}},"required":[],"additionalProperties":false}},{"name":"show","description":"Show one message by id (FOLDER/UNIQUE); mail content is under untrusted.","inputSchema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},{"name":"thread","description":"Show the thread of one message by id.","inputSchema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},{"name":"search","description":"Search messages for query, in one folder or all.","inputSchema":{"type":"object","properties":{"query":{"type":"string"},"folder":{"type":"string"}},"required":["query"],"additionalProperties":false}},{"name":"triage","description":"Triage one message (id) or a folder (folder: a name or all).","inputSchema":{"type":"object","properties":{"id":{"type":"string"},"folder":{"type":"string"}},"required":[],"additionalProperties":false}},{"name":"label","description":"Add a label to one message.","inputSchema":{"type":"object","properties":{"id":{"type":"string"},"label":{"type":"string"}},"required":["id","label"],"additionalProperties":false}},{"name":"move","description":"Move one message to another folder.","inputSchema":{"type":"object","properties":{"id":{"type":"string"},"folder":{"type":"string"}},"required":["id","folder"],"additionalProperties":false}},{"name":"mark_read","description":"Mark one message as read.","inputSchema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},{"name":"archive","description":"Archive one message.","inputSchema":{"type":"object","properties":{"id":{"type":"string"}},"required":["id"],"additionalProperties":false}},{"name":"draft_reply","description":"Write a reply draft to message id; all: also reply to the original To and Cc. Drafts are not sent.","inputSchema":{"type":"object","properties":{"id":{"type":"string"},"body":{"type":"string"},"all":{"type":"boolean"}},"required":["id","body"],"additionalProperties":false}},{"name":"draft_new","description":"Write a new draft; to and cc: comma-separated addresses or arrays of addresses. Drafts are not sent.","inputSchema":{"type":"object","properties":{"to":{"type":"string"},"cc":{"type":"string"},"subject":{"type":"string"},"body":{"type":"string"}},"required":["to","subject","body"],"additionalProperties":false}},{"name":"drafts","description":"List drafts with their sha256, recipients, subject and gate.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"queue_send","description":"Queue a draft (its sha256) for delivery; refused unless the human approved it or the human's policy allows it.","inputSchema":{"type":"object","properties":{"draft":{"type":"string"}},"required":["draft"],"additionalProperties":false}},{"name":"deliver","description":"Deliver queued drafts; each passes the send gate again.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"digest","description":"Summarise the mailbox.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"audit","description":"Show the latest audit records.","inputSchema":{"type":"object","properties":{"limit":{"type":"integer"}},"required":[],"additionalProperties":false}},{"name":"verify","description":"Verify the audit hash chain.","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false}},{"name":"stats","description":"Count the messages of a folder (a name or all) and how many parse; counts only, no mail content.","inputSchema":{"type":"object","properties":{"folder":{"type":"string"}},"required":[],"additionalProperties":false}}]}}