tools
Provides a list of tools based on the current active state.
This property holds a collection of ToolDescriptor instances, which describe the tools available for use in the AI agent session. The tools are dynamically determined and validated based on the isActive state of the session. The property ensures that tools can only be accessed when the session is active, leveraging the ActiveProperty delegate for state validation.
Accessing this property when the session is inactive will raise an exception, ensuring consistency and preventing misuse of tools outside a valid context.