/** * This file was auto-generated by Fern from our API Definition. */ import * as Vellum from "../index"; /** * The definition of a Function (aka "Tool Call") that a Prompt/Model has access to. */ export interface FunctionDefinition { state?: Vellum.PromptBlockState; cacheConfig?: Vellum.EphemeralPromptCacheConfig | null; /** The name identifying the function. */ name?: string | null; /** A description to help guide the model when to invoke this function. */ description?: string | null; /** An OpenAPI specification of parameters that are supported by this function. */ parameters?: Record | null; /** Optional user defined input mappings for this function. */ inputs?: Record | null; /** Set this option to true to force the model to return a function call of this function. */ forced?: boolean | null; /** Set this option to use strict schema decoding when available. */ strict?: boolean | null; }