Class AgentChatDynamicToolPart

Export

AgentChatDynamicToolPart

Hierarchy (view full)

Constructors

Properties

errorText?: string

Error text for failed tool completion.

Memberof

AgentChatDynamicToolPart

input?: {
    [key: string]: any;
}

Tool input payload.

Type declaration

  • [key: string]: any

Memberof

AgentChatDynamicToolPart

output?: {
    [key: string]: any;
}

Tool output payload.

Type declaration

  • [key: string]: any

Memberof

AgentChatDynamicToolPart

Tool invocation lifecycle state (required)

Memberof

AgentChatDynamicToolPart

toolCallId?: string

Tool call identifier (required)

Memberof

AgentChatDynamicToolPart

toolName?: string

Tool name (required)

Memberof

AgentChatDynamicToolPart

type: AgentChatMessagePartType = AgentChatMessagePartType.DYNAMIC_TOOL

Discriminator property for AgentChatMessagePart

Memberof

AgentChatDynamicToolPart

_discriminatorMapping: {
    [key: string]: string;
} = ...

Type declaration

  • [key: string]: string
_discriminatorName: "type" = 'type'