Fail Step • Rust AI Agent SDK

fail_step: Mark current step as failed

fail_step

Method

</div>

This is a method of the PlanningAgent class in the specialized module.

Mark current step as failed

Signature

python
def fail_step(&mut self, error: impl Into<String>) -> ()

Parameters

ParamField impl Into&lt;String&gt;

No description available.

Returns

ResponseField ()

The result of the operation.