tools

open override var tools: List<ToolDescriptor>(source)

Represents a collection of tools that are available for the session. The tools can be accessed or modified only if the session is in an active state.

This property uses an ActiveProperty delegate to enforce the session's active state as a prerequisite for accessing or mutating the tools list.

The list contains tool descriptors, which define the tools' metadata, such as their names, descriptions, and parameter requirements.