Ara
Download

Search or run a command

Jump to a section or open an Ara link.

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*

string
Source semantic node ID.
required

node*

string
Consumer node ID, or n_output for a domain field.
required

port*

string
in0/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 "…"