Is Correct • Rust AI Agent SDK

is_correct: Check if correct (expected == called).

is_correct

Method

</div>

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

Check if correct (expected == called).

Signature

python
def is_correct(&self) -> bool

Returns

ResponseField bool

The result of the operation.