Loading...
mutiro agent message

Message operations (send, read, search, reply)

Synopsis

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

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
Options
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
Global Options
Flag Type Description
--config string config file (default is ./.mutiro.yaml in current directory)
--debug bool debug mode
-v, --verbose bool verbose output
Subcommands
See Also
mutiro agent mutiro agent message read mutiro agent message reply mutiro agent message search mutiro agent message send