MAP Docs
MAT

CLI

`map invoke MAT` recipes for every operation.

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

tool

map invoke MAT tool --input '{"example":true}'

Invoke a registered tool by name under capability scope.

Capability: map.mat.tool

tool_discovery

map invoke MAT tool_discovery --input '{"example":true}'

Discover registered tools matching a capability or schema predicate.

Capability: map.mat.tool_discovery

tool_workflow_execute

map invoke MAT tool_workflow_execute --input '{"example":true}'

Execute a multi-step tool workflow declared as a graph.

Capability: map.mat.tool_workflow_execute

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

On this page