Skip to content

Bedrock Agentcore  >  Structures  >  ToolDescriptionOutput

ToolDescriptionOutput

Structure Class

ToolDescriptionOutput dataclass

The output for a single tool description recommendation.

Attributes

explanation class-attribute instance-attribute
explanation: str | None = None

An explanation of why the recommendation was generated for this tool and what patterns were identified in the agent traces.

recommended_tool_description class-attribute instance-attribute
recommended_tool_description: str | None = field(repr=False, default=None)

The optimized tool description text generated by the recommendation.

tool_name instance-attribute
tool_name: str

The name of the tool.