MAP Docs
MIM

CLI

`map invoke MIM` recipes for every operation.

The CLI is a Rust binary at services/map-cli. After map login you can dispatch any operation on MIM from the shell.

Common flags

FlagEffect
--input <json>Operation payload (or read from stdin)
--version v1.0.0Pin a specific protocol version
--idempotency-key <k>Required for safe retries of state-changing ops
--audit-tailPrint the audit record(s) produced
--output humanPretty-print response (default: json)

Recipes

message_send

map invoke MIM message_send --input '{"to":"mailbox://example","body":{"hello":"world"},"qos":"AtLeastOnce"}'

Send a message to an addressable mailbox; QoS (AtMostOnce/AtLeastOnce/ExactlyOnce), optional encryption/signature.

Capability: map.mim.message_send

message_receive

map invoke MIM message_receive --input '{"example":true}'

Receive messages from a mailbox; supports polling and streaming.

Capability: map.mim.message_receive

queuing

map invoke MIM queuing --input '{"example":true}'

Queue management: declare, bind, purge, delete.

Capability: map.mim.queuing

dedup_check

map invoke MIM dedup_check --input '{"example":true}'

Idempotency / dedup check for ExactlyOnce delivery.

Capability: map.mim.dedup_check

See CLI reference for global flags, login, MCP integration.

On this page