# Interface InputDefinition

Workflow input definition.

interface InputDefinition {
name: string;
type: "string" | "number" | "boolean" | "object" | "array";
description?: string;
required?: boolean;
default?: unknown;
}

- Defined in packages/nexus-agents/src/core/types/workflow.ts:33

##### Index

### Properties

name
type
description?
required?
default?

## Properties

### name

name: string

Input name

- Defined in packages/nexus-agents/src/core/types/workflow.ts:35

### type

type: "string" | "number" | "boolean" | "object" | "array"

Input type

- Defined in packages/nexus-agents/src/core/types/workflow.ts:37

### `Optional` description

description?: string

Description

- Defined in packages/nexus-agents/src/core/types/workflow.ts:39

### `Optional` required

required?: boolean

Whether required

- Defined in packages/nexus-agents/src/core/types/workflow.ts:41

### `Optional` default

default?: unknown

Default value

- Defined in packages/nexus-agents/src/core/types/workflow.ts:43