Command · material
material.connect
Rewire an argument or output in the shared material AST.
scope edit:scenenot idempotentnon-destructive
Params
Typed as MaterialConnectParams. Fields marked * are required.
source*
stringSource semantic node ID.
required
node*
stringConsumer node ID, or n_output for a domain field.
required
port*
stringin0/in1/... for function arguments; domain field for n_output.
required
Examples
JSON (MCP ara_apply, batches)
{
"cmd": "material.connect",
"args": {
"source": "n_a",
"node": "n_b",
"port": "in0"
}
}CLI
ara do material.connect --args '{"source":"n_a","node":"n_b","port":"in0"}' --why "…"