new • Rust AI Agent SDK

new: Create a new tool call result.

new

Method

</div>

This is a method of the ToolCallResult class in the eval module.

Create a new tool call result.

Signature

python
def new(name: impl Into<String>, expected: bool, called: bool) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField bool

No description available.

ParamField bool

No description available.

Returns

ResponseField Self

The result of the operation.