Add Step • AI Agent SDK

add_step: Add a step to history.

add_step

Method

</div>

This is a method of the StageContext class in the types module.

Add a step to history.

Signature

python
def add_step(action: str, result: Any, success: bool) -> Any

Parameters

ParamField str

No description available.

ParamField Any

No description available.

ParamField bool

No description available.

Returns

ResponseField Any

The result of the operation.

Source

View on GitHub

praisonaiagents/escalation/types.py at line 177