State definition type
Input definition type (defaults to undefined)
Output definition type (defaults to undefined)
Context schema type (defaults to undefined)
Node name union type (defaults to string)
Interrupt type (defaults to unknown)
Writer type (defaults to unknown)
Initialization options for StateGraph. Accepts any combination of schema types for state/input/output.
Supports both
stateandstateSchemaas aliases for backward compatibility. If onlyinputis provided (no state/stateSchema),inputis used as the state schema.