Package com.azure.ai.openai.models
Class ChatRequestToolMessage
java.lang.Object
com.azure.ai.openai.models.ChatRequestMessage
com.azure.ai.openai.models.ChatRequestToolMessage
A request chat message representing requested output from a configured tool.
-
Constructor Summary
ConstructorsConstructorDescriptionChatRequestToolMessage(String content, String toolCallId) Creates an instance of ChatRequestToolMessage class. -
Method Summary
Modifier and TypeMethodDescriptionGet the content property: The content of the message.Get the toolCallId property: The ID of the tool call resolved by the provided content.
-
Constructor Details
-
ChatRequestToolMessage
Creates an instance of ChatRequestToolMessage class.- Parameters:
content- the content value to set.toolCallId- the toolCallId value to set.
-
-
Method Details
-
getContent
Get the content property: The content of the message.- Returns:
- the content value.
-
getToolCallId
Get the toolCallId property: The ID of the tool call resolved by the provided content.- Returns:
- the toolCallId value.
-