CreateFunctionVersionBody

Request body for creating a FunctionVersion.

Definition

TypeScript
interface CreateFunctionVersionBody {
  functionId: string;
  inputSchemaId: string;
  outputSchemaId: string;
  name?: string | undefined;
}

Fields

FieldTypeNotes
functionIdstringrequired — Function to create a new version of.
inputSchemaIdstringrequired — Schema enforced on function input. Mandatory — callers need to know the shape contract up front.
outputSchemaIdstringrequired — Schema the function is expected to produce. Mandatory — composers and the agent loop need the return contract to typecheck downstream usage.
namestring | undefinedoptional — Version name