type
(GraphEventType
): The type of event, can be start_node, end_node, or callback.identifier
(str
): The identifier of the event, this is set typically by a callback
handler and can be used to distinguish between different events. For example, a
conversation/session ID could be used.token
(str | None
): The token associated with the event, such as LLM streamed output.params
(dict[str, Any] | None
): The parameters associated with the event, such as tool call parameters
or event metadata.EventCallback
handler instead.
EventCallback
handler instead.