MAP Docs
MOTET

CLI

`map invoke MOTET` recipes for every operation.

The CLI is a Rust binary at services/map-cli. After map login you can dispatch any operation on MOTET 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

emit

map invoke MOTET emit --input '{"example":true}'

Emit a telemetry event in any supported voice (log, metric, span, attestation).

Capability: map.motet.emit

trace

map invoke MOTET trace --input '{"example":true}'

Reconstruct the full trace for a trace ID across all voices.

Capability: map.motet.trace

subscribe

map invoke MOTET subscribe --input '{"example":true}'

Subscribe to a filtered stream of telemetry events.

Capability: map.motet.subscribe

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

On this page