Logo
Classes

AgentToolCall

Defined in: packages/workflow/src/agent/events.ts:5

Extends

  • WorkflowEvent<{ agentName: string; toolName: string; toolKwargs: Record<string, JSONValue>; toolId: string; }>

Constructors

Constructor

new AgentToolCall(data): AgentToolCall

Defined in: packages/workflow/src/workflow-event.ts:5

Parameters

data
agentName

string

toolName

string

toolKwargs

Record<string, JSONValue>

toolId

string

Returns

AgentToolCall

Inherited from

WorkflowEvent.constructor

Properties

displayName

displayName: string

Defined in: packages/workflow/src/workflow-event.ts:2

Inherited from

WorkflowEvent.displayName


data

data: object

Defined in: packages/workflow/src/workflow-event.ts:3

agentName

agentName: string

toolName

toolName: string

toolKwargs

toolKwargs: Record<string, JSONValue>

toolId

toolId: string

Inherited from

WorkflowEvent.data

Methods

toString()

toString(): string

Defined in: packages/workflow/src/workflow-event.ts:10

Returns

string

Inherited from

WorkflowEvent.toString


or()

static or<A, B>(AEvent, BEvent): A | B

Defined in: packages/workflow/src/workflow-event.ts:14

Type Parameters

A

A extends AnyWorkflowEventConstructor

B

B extends AnyWorkflowEventConstructor

Parameters

AEvent

A

BEvent

B

Returns

A | B

Inherited from

WorkflowEvent.or

On this page