As Str • Rust AI Agent SDK

as_str: Get raw output as string

as_str

Method

</div>

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

Get raw output as string

Signature

python
def as_str(&self) -> &str

Returns

ResponseField &str

The result of the operation.