Interface: ServingChatMessage
A chat message as it arrives on the serving wire, plus the extended-thinking
fields Databricks-hosted Claude adds. The OpenAI-standard part of the shape
is ChatMessage from @dbx-tools/shared-model; only the provider
extensions this module strips are declared here.
Extends
Section titled “Extends”ChatMessage
Properties
Section titled “Properties”content?
Section titled “content?”
optionalcontent?:string|ChatContentPart[] |null
Inherited from
Section titled “Inherited from”ChatMessage.content
optionalname?:string
Inherited from
Section titled “Inherited from”ChatMessage.name
reasoning?
Section titled “reasoning?”
optionalreasoning?:unknown
reasoning_content?
Section titled “reasoning_content?”
optionalreasoning_content?:unknown
role:
ChatRole|"reasoning"
Narrowed to the roles this repair pass reasons about, plus Claude’s reasoning turn.
Overrides
Section titled “Overrides”ChatMessage.role
tool_call_id?
Section titled “tool_call_id?”
optionaltool_call_id?:string
Set on a tool turn, keying it back to the call it answers.
Inherited from
Section titled “Inherited from”ChatMessage.tool_call_id
tool_calls?
Section titled “tool_calls?”
optionaltool_calls?:ChatToolCall[]
Inherited from
Section titled “Inherited from”ChatMessage.tool_calls