Search Hugging Face collections
hugging_face_collections_searchSearch Hugging Face collections by query or owner, and find collections containing a specific model, dataset, Space, or paper.
Instructions
Search Hugging Face collections, or find the collections that contain a model, dataset, Space or paper. Optional inputs: query, owner, item, sort, limit and 1 more. Returns a list (use cursor when paginated).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "hugging_face_collections_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | No | Only collections that contain this item, e.g. `models/openai-community/gpt2` or `papers/1706.03762`. | |
| sort | No | `trending` (default), `upvotes` or `lastModified`. | |
| limit | No | Items per page, 1-100. A page can hold fewer. Default: 10. | |
| owner | No | Only collections this account curates. | |
| query | No | Search text in titles and descriptions. | |
| cursor | No | Pass `page.nextCursor` from the previous response to get the next page. Keep every other parameter the same. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. |