# Interface CreateNodeInput

Input for creating a new reasoning node.

interface CreateNodeInput {
parentId: string | null;
treeId: string;
stepType: ReasoningStepType;
content: string;
confidence: number;
metadata?: Partial<ReasoningNodeMetadata>;
}

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:181

##### Index

### Properties

parentId
treeId
stepType
content
confidence
metadata?

## Properties

### `Readonly` parentId

parentId: string | null

Parent node ID (null for root)

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:183

### `Readonly` treeId

treeId: string

Tree ID this node belongs to

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:185

### `Readonly` stepType

stepType: ReasoningStepType

Type of reasoning step

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:187

### `Readonly` content

content: string

Content of the reasoning step

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:189

### `Readonly` confidence

confidence: number

Initial confidence (0-1)

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:191

### `Optional` `Readonly` metadata

metadata?: Partial<ReasoningNodeMetadata>

Optional metadata

- Defined in packages/nexus-agents/src/agents/reasoning/forest-node-types.ts:193