# Type Alias ToolChatMessage

Representation of the 'ToolChatMessage' schema.

type ToolChatMessage = {
content: ChatMessageContent;
role: "tool";
tool_call_id: string;
}

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

##### Index

### Properties

content
role
tool_call_id

## Properties

### content

content: ChatMessageContent

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

### role

role: "tool"

#### Example

    "tool"

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

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

### tool_call_id

tool_call_id: string

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