Add Tool Result • AI Agent SDK

add_tool_result: Add a tool result.

add_tool_result

Method

</div>

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

Add a tool result.

Diagram

uses

returns

Agent

Tool: add_tool_result

Result

Signature

python
def add_tool_result(tool: str, args: Dict, result: Any, success: bool) -> Any

Parameters

ParamField str

No description available.

ParamField Dict

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 186


Related Documentation