dd-trace
    Preparing search index...

    Interface ToolCall

    Represents a tool call made by an AI assistant in an agentic workflow.

    interface ToolCall {
        function: { arguments: string; name: string };
        id: string;
    }
    Index

    Properties

    Properties

    function: { arguments: string; name: string }

    Details about the function being invoked.

    Type Declaration

    • arguments: string

      String containing the arguments to pass to the tool.

    • name: string

      The name of the tool/function to be called.

    id: string

    Unique identifier for this specific tool call instance used to correlate the call with its response.