success • Rust AI Agent SDK

success: Create a successful step result

success

Method

</div>

This is a method of the StepResult class in the workflows module.

Create a successful step result

Signature

python
def success(agent: impl Into<String>, output: impl Into<String>) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField Self

The result of the operation.