Builder
Fluent builder for FunctionNode, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor. Java gets one from FunctionNodes.builder or toBuilder, which keep the port types and parallel-worker settings, because a port cannot decode without a type.
Functions
Builds the FunctionNode.
Sets the node's retry policy and execution timeout. A parallel node runs its items with the item node's config, so build rejects a non-default config for one.
Sets what the node does, for humans and for a model that may call it.
Sets an explicit schema that each input must match before the body runs.
Sets an explicit schema that each output value must match.
Sets whether a resume runs the node again rather than using the resuming answer. A parallel node always reruns, so build rejects false for one.
Sets the state keys the node uses, which child nodes inherit unless they declare their own.
Sets whether the node stays re-triggerable until it produces an output or a route.