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
Properties
displayName
displayName:
string
Defined in: packages/workflow/src/workflow-event.ts:2
Inherited from
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
Methods
toString()
toString():
string
Defined in: packages/workflow/src/workflow-event.ts:10
Returns
string
Inherited from
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