
Hugging Face Blog
· 2 min read
Introducing Community Tools on HuggingChat
Today we’re releasing our latest feature on HuggingChat: Community Tools! This lets you turn any Space that you love on HuggingFace into a tool that can be used by models directly from HuggingChat.
With this feature, we’re also expanding the modalities available in HuggingChat. You can now use community tools to understand images, generate videos, or answer with a text-to-speech model. The possibilities are endless and anyone can create tools using Spaces on Hugging Face! Explore existing tools here.
In this post we’re going to look at a few use cases for creating community tools:
- Turning a community Space into a tool
- Creating a custom tool yourself
- Enhance your assistants with community tools
- Create a RAG tool on your own documents
Turning a community Space into a tool
You can turn anyone’s public Space into a tool. This is handy for using the latest models directly in HuggingChat. Let’s use DamarJati/FLUX.1-RealismLora as an example here.
Start by creating a new tool and filling in the fields. As soon as you input the Space URL into the Hugging Face Space URL field you’ll see the available functions and parameters get filled automatically.
There are some fields that need to be filled in correctly in order to ensure optimal tool performance.
- Tool Description: The description is passed to the LLM to explain what the tool can do. Keep it short and describe what the tool can be used for.
- AI Function Name: The tools are represented as code functions. This is your tool’s function name. Keep it short, unique and self-explanatory.
- Arguments: These are the tool parameters the LLM can fill-in. They can be:
- Required: The model must fill in a value to use this tool. This required the parameter to be described properly.
- Optional: There is a default value provided but the model can override it if needed.
- Fixed: The value is fixed when creating the tool and can’t be changed by the model.
You can always look at other tools’ definition to better understand how to create tools. (example)
Original source
This story was published by Hugging Face Blog. SyncAI.news shows a preview; the complete article is on the publisher's site.
Read the full story on huggingface.co


