# Type Alias AzureOpenAiChatCompletionRequestToolMessage

AzureOpenAiChatCompletionRequestToolMessage: {
content:
| string
| AzureOpenAiChatCompletionRequestToolMessageContentPart[];
role: "tool";
tool_call_id: string;
} & Record<string, any>

Representation of the 'AzureOpenAiChatCompletionRequestToolMessage' schema.

#### Type Declaration

- ##### content: string | AzureOpenAiChatCompletionRequestToolMessageContentPart[]

  The contents of the tool message.

- ##### role: "tool"

  The role of the messages author, in this case `tool`.

- ##### tool_call_id: string

  Tool call that this message is responding to.

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

- Defined in packages/foundation-models/dist/azure-openai/client/inference/schema/chat-completion-request-tool-message.d.ts:5