ID • Rust AI Agent SDK

id: Get the agent ID

id

Method

</div>

This is a method of the Agent class in the agent module.

Get the agent ID

Signature

python
def id(&self) -> &str

Returns

ResponseField &str

The result of the operation.