komrad

delete_mail

Delete mail for good by id, read or not.

writesidempotentdestructiveMCP toolAgent

Any unknown id fails the call, and nothing is deleted.

Calling it#

curl -X POST http://127.0.0.1:8787/komrad.agent.v1.AgentService/DeleteMail \
  -H 'Content-Type: application/json' \
  -d '{
  "ids": [
    "<ids>"
  ]
}'

Request#

DeleteMailRequest#

FieldTypeDescription
idsuuid[]*

The mail to delete, by id, read or not. The recipient never sees unread mail once deleted.

Response#

Empty#

No fields.