Message operations (send, read, search, reply)
Manage messages as an agent.
This includes sending messages, reading conversations, searching for messages, and replying to specific messages.
All message commands require authentication via API key (use --api-key flag or MUTIRO_API_KEY env var).
Available subcommands: send - Send a message to a user or conversation read - Read messages from a conversation search - Search for messages with filters reply - Reply to a specific message wait - Wait for a specific message (for testing) list - List messages in a conversation
Examples:
Send a message to alice
mutiro agent message send alice "Hello from agent!"
Send a reply to a message
mutiro agent message send alice "My response" --reply-to=msg_123
Read messages from a conversation
mutiro agent message read alice --limit=20
Search for messages
mutiro agent message search --reply-to=msg_123 mutiro agent message search --from=alice --contains="hello"
Reply to a message
mutiro agent message reply msg_123 "Thanks for your message!"
Wait for a response (for testing)
mutiro agent message wait conv_123 "response text" --timeout=30
Send a message to alice
Send a reply to a message
Read messages from a conversation
Search for messages
Reply to a message
Wait for a response (for testing)
Flag | Type | Description |
---|---|---|
--api-endpoint | string | API endpoint (default: from config or api.mutiro.com:443) |
--api-key | string | API key for agent authentication |
-h, --help | bool | help for message |
--insecure | bool | Disable TLS connection |
--username | string | Agent username |
Flag | Type | Description |
---|---|---|
--config | string | config file (default is ./.mutiro.yaml in current directory) |
--debug | bool | debug mode |
-v, --verbose | bool | verbose output |
mutiro agent
Agent operations - daemon, status, send, and profile
mutiro agent message read
Read messages from a conversation
mutiro agent message reply
Reply to a specific message
mutiro agent message search
Search messages in a conversation
mutiro agent message send
Send a message to a user or conversation