# Type Alias SchemasChatCompletionTool

Representation of the 'SchemasChatCompletionTool' schema.

type SchemasChatCompletionTool = {
cache_control?: CacheControl;
function: FunctionObject;
type: "function";
}

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/schemas-chat-completion-tool.d.ts:6

##### Index

### Properties

cache_control?
function
type

## Properties

### `Optional` cache_control

cache_control?: CacheControl

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/schemas-chat-completion-tool.d.ts:12

### function

function: FunctionObject

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/schemas-chat-completion-tool.d.ts:11

### type

type: "function"

The type of the tool. Currently, only `function` is supported.

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

- Defined in packages/prompt-registry/dist/client/prompt-registry/schema/schemas-chat-completion-tool.d.ts:10