Set Result • Rust AI Agent SDK

set_result: Set task result

set_result

Method

</div>

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

Set task result

Signature

python
def set_result(&mut self, output: TaskOutput) -> ()

Parameters

ParamField TaskOutput

No description available.

Returns

ResponseField ()

The result of the operation.