# Type Alias MessageToolCall

MessageToolCall: {
function: { arguments: string; name: string } & Record<string, any>;
id: string;
type: "function";
} & Record<string, any>

Representation of the 'MessageToolCall' schema.

#### Type Declaration

- ##### function: { arguments: string; name: string } & Record<string, any>

  The function that the model called.

- ##### id: string

  The ID of the tool call.

- ##### 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/message-tool-call.d.ts:4