II.
InteractionPrimitive JSON
Structured · liveinteraction-primitive:agent-mux-cli-gateway-tokens-create
amux gateway tokens create json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "interaction-primitive:agent-mux-cli-gateway-tokens-create",
"_kind": "InteractionPrimitive",
"_file": "extensions/interaction-patterns/agent-mux-cli-hooks-gateway-help.yaml",
"_cluster": "extensions",
"attributes": {
"displayName": "amux gateway tokens create",
"kind": "cli-subcommand",
"surface": "cli",
"parentBin": "amux",
"subcommandVerb": "gateway tokens create",
"flags": [
"--config:1:gateway config path",
"--name:1:friendly token name (default token@<hostname>)",
"--ttl-ms:1:expiry in ms (null = never)",
"--qr:0:render QR code with token + url",
"--url:1:URL embedded in QR (default http://127.0.0.1:7878)"
],
"subcommandExitCodes": [
"0:success:token minted"
],
"description": "Create a new gateway access token (optionally render QR for mobile\nonboarding). Source:\npackages/agent-mux/cli/src/commands/gateway/tokens.ts:63-79.\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-ui-impl:agent-mux.ui@current",
"to": "interaction-primitive:agent-mux-cli-gateway-tokens-create",
"kind": "supports_interaction_primitive",
"attributes": {
"attributes": {
"mechanism": "cli-subcommand"
}
}
},
{
"from": "package:a5c-ai-agent-mux-cli",
"to": "interaction-primitive:agent-mux-cli-gateway-tokens-create",
"kind": "exposes_subcommand",
"attributes": {}
}
]
}