Optional dataAdditional data that can be sent back to the client.
Optional intermediateIntermediate steps that the agent has taken. This can be used for debugging or logging purposes, or to provide additional context to the client.
Optional messageMessage to be sent back to the client.
Optional metadataOptional toolTool calls that needs to be executed on the client-side.
Response sent back to the client after processing a chat request.