Is Tool • AI Agent SDK
is_tool: Check if an object is a tool (BaseTool instance or decorated function).
is_tool
Function
</div>
This function is defined in the decorator module.
Check if an object is a tool (BaseTool instance or decorated function).
Signature
def is_tool(obj: Any) -> boolParameters
ParamField
AnyNo description available.
Returns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/tools/decorator.py at line 430