agent • Rust AI Agent SDK

agent: Set agent info.

agent

Method

</div>

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

Set agent info.

Diagram

Input Data

Agent: agent

Output Result

Signature

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

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.


Related Documentation