Interface FunctionCallInfo<P, R>

A function that has been called but is not yet running

interface FunctionCallInfo<P, R> {
    func: CallableFunction<P, R>;
    name: string;
    params: inferParameters<P>;
    rawParams: string;
    task?: PromiseLike<CallableFunctionResult>;
    toolCallId: string;
}

Type Parameters

  • P extends z.ZodTypeAny = any
  • R = any

Properties

name: string
rawParams: string
task?: PromiseLike<CallableFunctionResult>
toolCallId: string