new • Rust AI Agent SDK

new: Create a new trace context

new

Method

</div>

This is a method of the TraceContextData class in the extras module.

Create a new trace context

Signature

python
def new() -> Self

Returns

ResponseField Self

The result of the operation.