Neutrome SDK reference
    Preparing search index...

    Type Alias ToolInteraction

    A completed tool call and its result, recorded as one exchange.

    type ToolInteraction = {
        args?: unknown;
        callId: string;
        name: string;
        result: unknown;
    }
    Index
    args?: unknown

    Arguments the tool was called with. Defaults to an empty object.

    callId: string

    Call id shared by the call and its result.

    name: string

    Name of the called tool.

    result: unknown

    Value the tool returned. Non-strings are JSON-encoded.