Trace ID • Rust AI Agent SDK

trace_id: Set trace ID

trace_id

Method

</div>

This is a method of the TraceEvent class in the specialized module.

Set trace ID

Signature

python
def trace_id(mut self, id: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation