dd-trace
    Preparing search index...

    Interface AssistantToolCallMessage

    A message from an AI assistant that initiates one or more tool calls.

    interface AssistantToolCallMessage {
        content?: undefined;
        role: "assistant";
        tool_calls: aiguard.ToolCall[];
    }
    Index

    Properties

    content?: undefined

    Explicitly excluded when tool calls are present to maintain type safety.

    role: "assistant"

    The role identifier, always set to 'assistant'

    tool_calls: aiguard.ToolCall[]

    Array of tool calls that the assistant wants to execute.