mDM_send_voice
Send a VOICE note to a contact as a first-class mDM voice message (not a URL stub). Pass audio bytes as base64; the tool uploads to Storage and posts via message-send with the voice attachment descriptor. SCAFFOLD: mDM is client-encrypted — until the seal step ships, bytes are uploaded unsealed (TODO Lane A).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient identity id (UUID). Use mDM_list_contacts to find it. | |
| mime | No | MIME type, e.g. audio/ogg, application/pdf, image/png. | audio/ogg |
| caption | No | ||
| duration_ms | No | Audio clip length in ms (voice only), if known. | |
| reply_to_id | No | Optional id of the message being replied to. | |
| audio_base64 | Yes | Attachment bytes as base64 (or a data: URL). MCP is JSON-only, so binary is base64-encoded. Max ~15 MB decoded. | |
| thread_label | No | Optional thread label within the conversation (mDM USP: multiple threads per contact). |