Interface IMCPToolCallDto<T>

Interface for the data transfer object used in MCP tool calls.

interface IMCPToolCallDto<T extends MCPToolValue = MCPToolValue> {
    abortSignal: TAbortSignal;
    agentName: string;
    clientId: string;
    isLast: boolean;
    params: T;
    toolCalls: IToolCall[];
    toolId: string;
}

Type Parameters

  • T extends MCPToolValue = MCPToolValue

Properties

abortSignal: TAbortSignal

Signal to abort the tool call operation.

agentName: string

Name of the agent associated with the tool call.

clientId: string

Identifier for the client making the tool call.

isLast: boolean

Indicates if this is the last tool call in a sequence.

params: T

Parameters for the tool call.

toolCalls: IToolCall[]

Array of tool calls associated with this request.

toolId: string

Unique identifier for the tool.