Skip to content

ToolDescriptionRecommendationResult

Structure Class

ToolDescriptionRecommendationResult dataclass

Bases: _SerdeShape

The result of a tool description recommendation, containing optimized descriptions.

Attributes

configuration_bundle class-attribute instance-attribute
configuration_bundle: RecommendationResultConfigurationBundle | None = ...

The configuration bundle containing the recommended tool descriptions, if the input was sourced from a configuration bundle.

error_code class-attribute instance-attribute
error_code: str | None = ...

The error code if the recommendation failed.

error_message class-attribute instance-attribute
error_message: str | None = ...

The error message if the recommendation failed.

tools class-attribute instance-attribute
tools: list[ToolDescriptionOutput] | None = ...

The list of tools with their recommended descriptions.