# This file was auto-generated by Fern from our API Definition.

import typing

import typing_extensions
from ..types.role import Role
from .chat_completion_message_tool_call import ChatCompletionMessageToolCallParams


class ChatCompletionResponseMessageParams(typing_extensions.TypedDict):
    content: typing_extensions.NotRequired[str]
    """
    The contents of the message.
    """

    refusal: typing_extensions.NotRequired[str]
    reasoning_content: typing_extensions.NotRequired[str]
    """
    The contents of the reasoning message.
    """

    role: Role
    """
    The role of the author of this message.
    """

    tool_calls: typing_extensions.NotRequired[typing.Sequence[ChatCompletionMessageToolCallParams]]
    """
    The tool calls generated by the model.
    """
