# Interface TaskAssignmentMessage

Task assignment message sent to an expert.

interface TaskAssignmentMessage {
type: "task_assignment";
expertId: string;
task: Task;
sequencePosition?: number;
previousResults?: TaskResult[];
deadline?: string;
}

- Defined in packages/nexus-agents/src/agents/collaboration/collaboration-types.ts:105

##### Index

### Properties

type
expertId
task
sequencePosition?
previousResults?
deadline?

## Properties

### type

type: "task_assignment"

- Defined in packages/nexus-agents/src/agents/collaboration/collaboration-types.ts:106

### expertId

expertId: string

- Defined in packages/nexus-agents/src/agents/collaboration/collaboration-types.ts:107

### task

task: Task

- Defined in packages/nexus-agents/src/agents/collaboration/collaboration-types.ts:108

### `Optional` sequencePosition

sequencePosition?: number

- Defined in packages/nexus-agents/src/agents/collaboration/collaboration-types.ts:109

### `Optional` previousResults

previousResults?: TaskResult[]

- Defined in packages/nexus-agents/src/agents/collaboration/collaboration-types.ts:110

### `Optional` deadline

deadline?: string

- Defined in packages/nexus-agents/src/agents/collaboration/collaboration-types.ts:111