code wiki / (root) / nx_tool_argecho.nx

nx_tool_argecho.nx

buildroot/runtime/nx_tool_argecho.nx

1034 B23 linesdepth 2pulls 2 transitivereach 0 importersview sourcekind tooltopic tool
docsdependenciesstructsconstsfunctions

about

nx_tool_argecho.nx -- the multi-arg WITNESS organ for the executable API. Where nx_tool_ping proves an argless organ forks+captures, this one proves a FULL argv vector reaches the child: it echoes a fixed sentinel then each of its argv[1..] on its own line, and exits 0. Zero side effects (no files, no network) -- the SAFE tool to allowlist for proving that /mcp tools/call now passes params.arguments.argv through to the organ as real argv (the arg-passing exceed that makes multi-arg organs, e.g. nx_mgmt_client, callable). license_tier: ORIGINAL expect_exit: 0

dependencies 1 imports · 0 importers

nx_syscalls.nx nx_tool_argecho.nx

imports: nx_syscalls.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main sys_write ae_slen sys_exit

structs

none

consts

none

functions

9func ae_slen(s: *u8) -> i64 { var n: i64 = 0; while s[n] != (0 as u8) { n = n + 1 } return n }
called by 1: main
11func main(argc: i64, argv: *i64) -> i64