@cavell/kit API
    Preparing search index...

    Interface ToolCallbackEvent

    interface ToolCallbackEvent {
        args: Record<string, unknown>;
        rawResult: string;
        result: unknown;
        source: "server" | "frontend";
        status: "error" | "success";
        threadId: string;
        toolCallId: string;
        toolName: string;
    }
    Index
    args: Record<string, unknown>
    rawResult: string
    result: unknown

    Parsed result (parseToolResult); rawResult keeps the wire string.

    source: "server" | "frontend"

    Where the tool executed: the agent (server) or a registered frontend tool.

    status: "error" | "success"
    threadId: string
    toolCallId: string
    toolName: string