decision • Rust AI Agent SDK

decision: Set as decision task

decision

Method

</div>

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

Set as decision task

Signature

python
def decision(mut self) -> Self

Returns

ResponseField Self

The result of the operation.