// This file was auto-generated by Fern from our API Definition.

import type * as Vapi from "../index.js";

export interface ToolCallHookAction {
    /** This is the type of action - must be "tool" */
    type: Vapi.ToolCallHookActionType;
    /** This is the tool to call. To use an existing tool, send `toolId` instead. */
    tool?: Vapi.ToolCallHookActionTool | undefined;
    /** This is the tool to call. To use a transient tool, send `tool` instead. */
    toolId?: string | undefined;
}
