The Tool component displays a collapsible interface for showing and hiding tool details from AI SDK tool parts.
Copy and paste the following code into your project: