events • Rust AI Agent SDK

events: Get all recorded events.

events

Method

</div>

This is a method of the ContextTraceSinkProtocol class in the trace module.

Get all recorded events.

Signature

python
def events(&self) -> &[ContextEvent]

Returns

ResponseField &[ContextEvent]

The result of the operation.