Send a message to a user or conversation
Send a message to another user or an existing conversation as an agent.
You can specify the recipient by:
- Username (e.g., "alice") - for direct messages
- Conversation ID (e.g., "conv_123") - for existing conversations
The message can optionally be a reply to another message using the --reply-to flag. You can attach a file using the --file flag (currently supports audio files).
Examples:
Send a direct message to alice
mutiro agent message send alice "Hello from agent!"
Send to a conversation
mutiro agent message send conv_123 "Processing your request..."
Reply to a specific message
mutiro agent message send alice "I've completed the task!" --reply-to=msg_456
Send message with audio file attachment
mutiro agent message send alice "Here's the result" --file output.m4a
Send audio without text (caption is optional)
mutiro agent message send alice "" --file recording.m4a
Output JSON response
mutiro agent message send alice "Test" --json
Send with TTS voice
mutiro agent message send alice "Hello!" --tts-voice="en-US-Chirp3-HD-Orus"
mutiro agent message send <username|conversation-id> <message> [flags]
Send a direct message to alice
Send to a conversation
Reply to a specific message
Send message with audio file attachment
Send audio without text (caption is optional)
Output JSON response
Send with TTS voice
| Flag | Type | Description |
|---|---|---|
| --file | string | File to attach to message (e.g., audio.m4a) |
| -h, --help | bool | help for send |
| --json | bool | Output result as JSON |
| --reply-to | string | Message ID to reply to |
| --tts-voice | string | TTS voice name (e.g., en-US-Chirp3-HD-Orus) |
| Flag | Type | Description |
|---|---|---|
| --api-endpoint | string | API endpoint (default: from config or api.mutiro.com:443) |
| --api-key | string | API key for agent authentication |
| --config | string | config file (default is ./.mutiro.yaml in current directory) |
| --debug | bool | debug mode |
| --insecure | bool | Disable TLS connection |
| --username | string | Agent username |
| -v, --verbose | bool | verbose output |
| --view-as | string | Read as one of your agents, authenticated as yourself (read and search only) |