# Type Alias ChatCompletionTool

Representation of the 'ChatCompletionTool' schema.

type ChatCompletionTool = {
function: FunctionObject;
type: "function";
}

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

##### Index

### Properties

function
type

## Properties

### function

function: FunctionObject

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

### 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/chat-completion-tool.d.ts:9