Optional
additional_Optional
function_Optional
tool_Optional
id?: stringAn optional unique identifier for the message. This should ideally be provided by the provider/model which created the message.
Optional
name?: stringOptional
response_Response metadata. For example: response headers, logprobs, token counts.
Deprecated
Use "tool_calls" field on AIMessages instead