# Type Alias FunctionObject

Representation of the 'FunctionObject' schema.

type FunctionObject = {
description?: string;
name: string;
parameters?: FunctionParameters;
strict?: boolean | null;
}

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/function-object.d.ts:5

##### Index

### Properties

description?
name
parameters?
strict?

## Properties

### `Optional` description

description?: string

A description of what the function does, used by the model to choose when and how to call the function.

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/function-object.d.ts:9

### name

name: string

The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64. Max Length: 64. Pattern: "^[a-zA-Z0-9-_]+$".

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/function-object.d.ts:15

### `Optional` parameters

parameters?: FunctionParameters

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/function-object.d.ts:16

### `Optional` strict

strict?: boolean | null

Whether to enable strict schema adherence when generating the function call. If set to true, the model will follow the exact schema defined in the `parameters` field. Only a subset of JSON Schema is supported when `strict` is `true`. Learn more about Structured Outputs in the function calling guide.

Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/function-object.d.ts:20