Check Availability • AI Agent SDK
check_availability: Check if this tool is currently available to run.
check_availability
Method
</div>
This is a method of the FunctionTool class in the decorator module.
Check if this tool is currently available to run.
Signature
def check_availability() -> tuple[bool, str]Returns
ResponseField
tuple[bool, str]tuple of (is_available, reason_if_not)
Uses
logging.warning
Used By
Source
View on GitHubpraisonaiagents/tools/decorator.py at line 241