run • AI Agent SDK
run: Execute the wrapped function with injected state.
run
Method
</div>
This is a method of the FunctionTool class in the decorator module.
Execute the wrapped function with injected state.
Signature
def run() -> AnyReturns
ResponseField
AnyThe result of the operation.
Uses
inject_state_into_kwargs
Used By
Source
View on GitHubpraisonaiagents/tools/decorator.py at line 212