CLI
`map invoke MOTE` recipes for every operation.
The CLI is a Rust binary at services/map-cli. After map login you can dispatch any operation on MOTE from the shell.
Common flags
| Flag | Effect |
|---|---|
--input <json> | Operation payload (or read from stdin) |
--version v1.0.0 | Pin a specific protocol version |
--idempotency-key <k> | Required for safe retries of state-changing ops |
--audit-tail | Print the audit record(s) produced |
--output human | Pretty-print response (default: json) |
Recipes
sensor_read
map invoke MOTE sensor_read --input '{"example":true}'Read a sensor stream into MIND with continuous attestation.
Capability: map.mote.sensor_read
actuator_move
map invoke MOTE actuator_move --input '{"example":true}'Send a motion actuation command; sandboxed by physical capability declaration.
Capability: map.mote.actuator_move
actuator_set_state
map invoke MOTE actuator_set_state --input '{"example":true}'Set the state of an actuator (e.g., relay, valve); state change recorded.
Capability: map.mote.actuator_set_state
dispenser_dispense
map invoke MOTE dispenser_dispense --input '{"example":true}'Dispense from a metered physical resource (printer, fluid, material).
Capability: map.mote.dispenser_dispense
device_discovery
map invoke MOTE device_discovery --input '{"example":true}'Discover bound devices and their capability declarations.
Capability: map.mote.device_discovery
health_check
map invoke MOTE health_check --input '{"example":true}'Device health and integrity attestation.
Capability: map.mote.health_check
See CLI reference for global flags, login, MCP integration.