API
interface AssistantMessage<Output, ToolUnion extends AnyTool> {}AssistantMessage
@typeOutput@typeToolUnionAnyToolcontent
Outputrole
'assistant'toolCalls
ToolCall<ToolUnion>[]interface AssistantMessage<Output, ToolUnion extends AnyTool> {}@typeOutput@typeToolUnionAnyToolOutput'assistant'ToolCall<ToolUnion>[]