nx_swapmotion_tool_register.nx
buildroot/runtime/nx_swapmotion_tool_register.nx
about
nx_swapmotion_tool_register.nx -- register the MOTION capability (S3 shipped) into the sovereign tool registry
so BOTH the synthetic human (Elara) AND the game/DnD systems can DISCOVER + eventually invoke it (operator
2026-07-05: "add these capabilities as APIs ... to do what they want aka if they want to do a dance move ...
to show it in a video"). DISCOVERY only (the registry is what /api/tools + /mcp tools/list serve); making it
RUNNABLE over /mcp stays a separate fail-closed allowlist step. Idempotent readback-verified. license_tier: ORIGINAL
expect_exit: 0
dependencies 1 imports · 0 importers
imports: nx_tool_registry.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 9 | func mr_puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 } |
| 10 | func mr_putn(v: i64) -> i64 |
| 21 | func mr_reg1(name: *u8, desc: *u8, invoke: *u8, status: *u8) -> i64 |
| 32 | func main() -> i64 |