success • Rust AI Agent SDK

success: Create a successful result

success

Method

</div>

This is a method of the ToolResult class in the tools module.

Create a successful result

Signature

python
def success(name: impl Into<String>, value: Value) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField Value

No description available.

Returns

ResponseField Self

The result of the operation.