Skip to main content

Interface: WorkflowTaskDefinition

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:54

Declarative task definition within a workflow.

Properties

dependsOn?

optional dependsOn: string[]

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:58


description?

optional description: string

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:57


executor

executor: object

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:59

extensionId?

optional extensionId: string

instructions?

optional instructions: string

personaId?

optional personaId: string

roleId?

optional roleId: string

type

type: WorkflowTaskExecutorType


handoff?

optional handoff: Record<string, unknown>

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:76


id

id: string

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:55


inputSchema?

optional inputSchema: JSONSchemaObject

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:66


metadata?

optional metadata: Record<string, unknown>

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:75


name

name: string

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:56


outputSchema?

optional outputSchema: JSONSchemaObject

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:67


policyTags?

optional policyTags: string[]

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:68


retryPolicy?

optional retryPolicy: object

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:69

backoffSeconds?

optional backoffSeconds: number

maxAttempts

maxAttempts: number

strategy?

optional strategy: "exponential" | "linear" | "fixed"


skippable?

optional skippable: boolean

Defined in: packages/agentos/src/core/workflows/WorkflowTypes.ts:74