Has Tools • AI Agent SDK
has_tools: Check if any tools are available for this turn.
has_tools
Method
</div>
This is a method of the PreparedTurnContext class in the turn_context module.
Check if any tools are available for this turn.
Signature
def has_tools() -> boolReturns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/runtime/turn_context.py at line 239