ID • Rust AI Agent SDK

id: Get task ID

id

Method

</div>

This is a method of the Task class in the task module.

Get task ID

Signature

python
def id(&self) -> &str

Returns

ResponseField &str

The result of the operation.